Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/9.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 从自己的github安装@types(打字)?_Typescript_Npm_Npm Install_Typescript Typings_Definitelytyped - Fatal编程技术网

Typescript 从自己的github安装@types(打字)?

Typescript 从自己的github安装@types(打字)?,typescript,npm,npm-install,typescript-typings,definitelytyped,Typescript,Npm,Npm Install,Typescript Typings,Definitelytyped,我已经向DefinitelyTyped发送了一个pull请求,但是在他们接受它之前,我如何在我的npm包中使用它 使用是一种方式,例如:本工程: "async": "github:MyUserName/DefinitelyTyped/types/async/index.d.ts#patch-4", 但是,有没有另一种方法,只使用不推荐和放弃的项目,而不使用它

我已经向DefinitelyTyped发送了一个pull请求,但是在他们接受它之前,我如何在我的npm包中使用它

使用是一种方式,例如:本工程:

"async": "github:MyUserName/DefinitelyTyped/types/async/index.d.ts#patch-4",

但是,有没有另一种方法,只使用不推荐和放弃的项目,而不使用它