Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Typescript Angular 2-Multiselect通过typings.json安装_Typescript_Angular_Multi Select - Fatal编程技术网

Typescript Angular 2-Multiselect通过typings.json安装

Typescript Angular 2-Multiselect通过typings.json安装,typescript,angular,multi-select,Typescript,Angular,Multi Select,我正在尝试安装angular2 multiselect: 我在typings.json中使用了所有第三方插件: { "ambientDependencies": { "bootstrap.v3.datetimepicker": "github:DefinitelyTyped/DefinitelyTyped/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker.d.ts#a83eb4912e674b3492ce775673376

我正在尝试安装angular2 multiselect:

我在typings.json中使用了所有第三方插件:

{
  "ambientDependencies": {
    "bootstrap.v3.datetimepicker": "github:DefinitelyTyped/DefinitelyTyped/bootstrap.v3.datetimepicker/bootstrap.v3.datetimepicker.d.ts#a83eb4912e674b3492ce77567337642a7e6c584f",
    "moment": "github:DefinitelyTyped/DefinitelyTyped/moment/moment.d.ts#1be6a281906e5cd179a97c86bd58ebf9cdc9c6a5",
    "moment-node": "github:DefinitelyTyped/DefinitelyTyped/moment/moment-node.d.ts#b090bcf9ba9f756ec8ff53e7707269729172a325",
    "jquery": "github:DefinitelyTyped/DefinitelyTyped/jquery/jquery.d.ts#661fc869669af796c6048483e999dce5732eed72",
    "bootstrap.multiselect": "github:ravendb/ravendb/Raven.Studio.Html5/Scripts/typings/bootstrap.multiselect/bootstrap.multiselect.d.ts#f05d3b934bcbc22ab5e87fad4a81e4309bde6534",
    "angular2-multiselect": "github:igariok1990/angular2-multiselect/src/app/components/multiselect.ts#d075c9ff8c2f904cc3f122d41276619d8b2886f9"
  }
}

但是,当我编写npm安装时,它会给我带来错误:无法解析(slug到multiselect.d.ts)

npm中似乎没有可用的模块
angular2 multiselect

查看请求的结果
https://www.npmjs.com/search?q=angular2-多选

抱歉,“angular2 multiselect”没有结果


安装这个插件有其他选择吗?我看到的另一个选择是签出源代码并将其链接到您的项目。。。