Fix inconsistency in the module document. PR532
This commit is contained in:
parent
094537b679
commit
c0c47fd94c
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user