mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
refactor d.ts
This commit is contained in:
parent
a84ce59d31
commit
c3e57af521
12
README.md
12
README.md
@ -68,9 +68,15 @@ Normal browsers and Internet Explorer 8+.
|
|||||||
|
|
||||||
## TypeScript
|
## TypeScript
|
||||||
|
|
||||||
```js
|
tsconfig.json
|
||||||
///<reference path='./node_modules/antd/type-definitions/antd.d.ts'/>
|
|
||||||
...
|
```
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"jsx": "preserve"
|
||||||
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
2000
index.d.ts
vendored
Normal file
2000
index.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -29,7 +29,7 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"lib",
|
"lib",
|
||||||
"type-definitions"
|
"index.d.ts"
|
||||||
],
|
],
|
||||||
"typings": "type-definitions/antd.d.ts",
|
"typings": "type-definitions/antd.d.ts",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
2006
type-definitions/antd.d.ts
vendored
2006
type-definitions/antd.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user