Fix inconsistency in the module document. PR532

This commit is contained in:
zhongsp 2017-04-04 11:07:18 +08:00
parent 094537b679
commit c0c47fd94c

View File

@ -492,7 +492,7 @@ declare module "path" {
}
```
现在我们可以`/// <reference>` `node.d.ts`并且使用`import url = require("url");`加载模块。
现在我们可以`/// <reference>` `node.d.ts`并且使用`import url = require("url");`或`import * as URL from "url"`加载模块。
```ts
/// <reference path="node.d.ts"/>