doc: Update typescript.md

This commit is contained in:
jaywcjlove
2022-12-03 17:44:28 +08:00
parent d75cda78f5
commit 3f191de637
3 changed files with 34 additions and 5 deletions

View File

@ -18,6 +18,7 @@ React 是一个用于构建用户界面的 JavaScript 库
- [React 官方文档](https://reactjs.org/) _(reactjs.org)_
- [Styled Components 备忘清单](./styled-components.md) _(jaywcjlove.github.io)_
- [TypeScript JSX 备忘清单](./typescript.md#jsx) _(jaywcjlove.github.io)_
```js
import {createRoot} from 'react-dom/client'