代码之家  ›  专栏  ›  技术社区  ›  A T

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

  •  3
  • A T  · 技术社区  · 8 年前

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

    typings

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

    但是有没有其他方法,仅仅使用 npm typings 项目

    0 回复  |  直到 8 年前
    推荐文章