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 deb8522 commit 59e0b3bCopy full SHA for 59e0b3b
docs/assert.md
@@ -228,8 +228,7 @@ let s = 'JavaScript';
228
setLang(s as const); // 报错
229
```
230
231
-上面示例中,`as
232
-const`断言用于变量`s`,就报错了。下面的写法可以更清晰地看出这一点。
+上面示例中,`as const`断言用于变量`s`,就报错了。下面的写法可以更清晰地看出这一点。
233
234
```typescript
235
let s1 = 'JavaScript';
docs/module.md
@@ -221,7 +221,7 @@ let obj = { foo: 123 };
221
export = obj;
222
223
224
-`export = `语句输出的对象,只能使用`import =`语句加载。
+`export =`语句输出的对象,只能使用`import =`语句加载。
225
226
227
import obj = require('./a');
0 commit comments