mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
add typings.json
This commit is contained in:
parent
4500f2e9ee
commit
ec916e5f72
1
.gitignore
vendored
1
.gitignore
vendored
@ -26,3 +26,4 @@ dist
|
||||
/lib
|
||||
elasticsearch-*
|
||||
config/base.yaml
|
||||
typings
|
||||
|
5
type-definitions/antd.d.ts
vendored
5
type-definitions/antd.d.ts
vendored
@ -5,7 +5,7 @@
|
||||
|
||||
import * as React from 'react'
|
||||
|
||||
declare namespace Antd {
|
||||
declare module "antd" {
|
||||
// Affix
|
||||
interface AffixProps {
|
||||
/**
|
||||
@ -2003,7 +2003,4 @@ declare namespace Antd {
|
||||
}
|
||||
export class LocaleProvider extends React.Component<LocaleProviderProps, {}>{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export = Antd;
|
||||
|
6
typings.json
Normal file
6
typings.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"globalDependencies": {
|
||||
"react": "registry:dt/react#0.14.0+20160526134601",
|
||||
"react-dom": "registry:dt/react-dom#0.14.0+20160412154040"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user