Skip to content

Commit

Permalink
docs(cn): adjust format
Browse files Browse the repository at this point in the history
  • Loading branch information
Yucohny authored Jul 24, 2023
1 parent 87b6d53 commit cbc167f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/guides/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ module.exports = {
document.body.appendChild(component());
```

T> 如果想在 TypeScript 中保留如`import _ from 'lodash';`的语法让它被作为一种默认的导入方式,需要在文件 **tsconfig.json** 中设置 `"allowSyntheticDefaultImports" : true``"esModuleInterop" : true` 。这个是与 TypeScript 相关的配置,在本文档中提及仅供参考。
T> 如果想在 TypeScript 中保留如 `import _ from 'lodash';` 的语法让它被作为一种默认的导入方式,需要在文件 **tsconfig.json** 中设置 `"allowSyntheticDefaultImports" : true``"esModuleInterop" : true`。这是与 TypeScript 相关的配置,在本文档中提及仅供参考。

## Loader $#loader$

Expand Down

0 comments on commit cbc167f

Please sign in to comment.