update doc

This commit is contained in:
afc163 2017-03-23 15:11:35 +08:00 committed by Benjy Cui
parent 901a1e6769
commit 218a516000
4 changed files with 12 additions and 12 deletions

View File

@ -70,9 +70,9 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
}
```
> 注意:设置 `allowSyntheticDefaultImports` 避免 `error TS1192: Module 'react' has no default export` 的错误。
> 注意: 不要使用 @types/antd, antd 已经自带了 TypeScript 定义。
> 注意:
> - 设置 `allowSyntheticDefaultImports` 避免 `error TS1192: Module 'react' has no default export` 的错误。
> - 不要使用 @types/antd, antd 已经自带了 TypeScript 定义。
## 国际化

View File

@ -96,9 +96,9 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
}
```
> 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.
> Note:
> - set `allowSyntheticDefaultImports` to prevent `error TS1192: Module 'react' has no default export`.
> - Don't use @types/antd, antd provide a built-in ts definition already.
## Internationalization

View File

@ -123,9 +123,9 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
}
```
> 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.
> Note:
> - set `allowSyntheticDefaultImports` to prevent `error TS1192: Module 'react' has no default export`.
> - Don't use @types/antd, antd provide a built-in ts definition already.
## Links

View File

@ -126,9 +126,9 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
}
```
> 注意:设置 `allowSyntheticDefaultImports` 避免 `error TS1192: Module 'react' has no default export` 的错误。
> 注意: 不要使用 @types/antd, antd 已经自带了 TypeScript 定义。
> 注意:
> - 设置 `allowSyntheticDefaultImports` 避免 `error TS1192: Module 'react' has no default export` 的错误。
> - 不要使用 @types/antd, antd 已经自带了 TypeScript 定义。
## 链接