Skip to content

Commit

Permalink
修正反例导入文件类型
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzexi committed Aug 23, 2022
1 parent be763f3 commit dfbd5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/new/typescript-3.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function doThingBetter(options) {
首先,在一些场景下,TypeScript 会混淆导出的究竟是一个类型还是一个值。比如在下面的例子中, `MyThing` 究竟是一个值还是一个类型?

```ts
import { MyThing } from './some-module.js';
import { MyThing } from './some-module';

export { MyThing };
```
Expand Down

0 comments on commit dfbd5c4

Please sign in to comment.