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 115d876 commit 87b6d53Copy full SHA for 87b6d53
src/content/guides/typescript.mdx
@@ -117,7 +117,7 @@ module.exports = {
117
document.body.appendChild(component());
118
```
119
120
-T> 如果想在 TypeScript 中保留如`import _ from 'lodash';`的语法被让它作为一种默认的导入方式,需要在文件 **tsconfig.json** 中设置 `"allowSyntheticDefaultImports" : true` 和 `"esModuleInterop" : true` 。这个是与 TypeScript 相关的配置,在本文档中提及仅供参考。
+T> 如果想在 TypeScript 中保留如`import _ from 'lodash';`的语法让它被作为一种默认的导入方式,需要在文件 **tsconfig.json** 中设置 `"allowSyntheticDefaultImports" : true` 和 `"esModuleInterop" : true` 。这个是与 TypeScript 相关的配置,在本文档中提及仅供参考。
121
122
## Loader $#loader$
123
0 commit comments