From dfbd5c42e45f6b236b6c3f45dc03e63b32422f1f Mon Sep 17 00:00:00 2001 From: Zexi Date: Tue, 23 Aug 2022 19:45:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8F=8D=E4=BE=8B=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E6=96=87=E4=BB=B6=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/new/typescript-3.8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/new/typescript-3.8.md b/docs/new/typescript-3.8.md index 9ffe6f87..359f1cf9 100644 --- a/docs/new/typescript-3.8.md +++ b/docs/new/typescript-3.8.md @@ -51,7 +51,7 @@ function doThingBetter(options) { 首先,在一些场景下,TypeScript 会混淆导出的究竟是一个类型还是一个值。比如在下面的例子中, `MyThing` 究竟是一个值还是一个类型? ```ts -import { MyThing } from './some-module.js'; +import { MyThing } from './some-module'; export { MyThing }; ```