Skip to content

Commit

Permalink
Update typescript.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Makonike authored Oct 11, 2023
1 parent 3ebac15 commit 7278d1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -1096,9 +1096,9 @@ console.log(petter) // { name: 'Petter' }
```
:::tip
使用类型断言可以让 TypeScript 不检查的代码,它会认为是对的
使用类型断言可以让 TypeScript 不再检查你的代码,认为它是正确的
所以,请务必保证自己的代码真的是对的
所以,请务必保证自己的代码真的是正确的
:::
### 类型推论
Expand Down

0 comments on commit 7278d1b

Please sign in to comment.