【发布时间】:2016-02-08 02:28:26
【问题描述】:
前两天我尝试为 angular2 安装 typescript 定义文件,结果在终端中显示为空。然后github项目的链接也不见了- https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/angular2/angular2.d.ts
有人知道这件事或有新的链接吗?
【问题讨论】:
标签: typescript angular tsd
前两天我尝试为 angular2 安装 typescript 定义文件,结果在终端中显示为空。然后github项目的链接也不见了- https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/angular2/angular2.d.ts
有人知道这件事或有新的链接吗?
【问题讨论】:
标签: typescript angular tsd
Angular 2 现在附带了开箱即用的 TypeScript 定义。您不需要外部包管理器来为 Angular 2 引入 defs。
【讨论】:
so I don't have any intelli-sense right now.Thanks dude: 它应该从node_modules/angular2 和moduleResolution:node 获取。