We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a23800 commit 86375edCopy full SHA for 86375ed
doc/handbook/Module Resolution.md
@@ -33,7 +33,7 @@
33
下面是一些例子:
34
35
* `import * as $ from "jQuery";`
36
-* `import { Component } from "angular2/core";`
+* `import { Component } from "@angular/core";`
37
38
相对导入解析时是相对于导入它的文件来的,并且*不能*解析为一个外部模块声明。
39
你应该为你自己写的模块使用相对导入,这样能确保它们在运行时的相对位置。
0 commit comments