Browse Source

do not use @types/antd

pull/5207/head
afc163 8 years ago
parent
commit
28722df299
  1. 1
      README-zh_CN.md
  2. 2
      README.md

1
README-zh_CN.md

@ -69,6 +69,7 @@ tsconfig.json
> 注意:设置 `allowSyntheticDefaultImports` 避免 `error TS1192: Module 'react' has no default export` 的错误。
> 注意: 不要使用 @types/antd, antd 已经自带了 TypeScript 定义。
## 链接

2
README.md

@ -100,6 +100,8 @@ tsconfig.json
> Note: set `allowSyntheticDefaultImports` to prevent `error TS1192: Module 'react' has no default export`.
> Note: Don't use @types/antd, antd provide a built-in ts definition already.
## Links
- [Home page](http://ant.design/)

Loading…
Cancel
Save