Browse Source

add typings.json

pull/1912/head
yiminghe 9 years ago
parent
commit
ec916e5f72
  1. 1
      .gitignore
  2. 5
      type-definitions/antd.d.ts
  3. 6
      typings.json

1
.gitignore

@ -26,3 +26,4 @@ dist
/lib /lib
elasticsearch-* elasticsearch-*
config/base.yaml config/base.yaml
typings

5
type-definitions/antd.d.ts

@ -5,7 +5,7 @@
import * as React from 'react' import * as React from 'react'
declare namespace Antd { declare module "antd" {
// Affix // Affix
interface AffixProps { interface AffixProps {
/** /**
@ -2003,7 +2003,4 @@ declare namespace Antd {
} }
export class LocaleProvider extends React.Component<LocaleProviderProps, {}>{ export class LocaleProvider extends React.Component<LocaleProviderProps, {}>{
} }
} }
export = Antd;

6
typings.json

@ -0,0 +1,6 @@
{
"globalDependencies": {
"react": "registry:dt/react#0.14.0+20160526134601",
"react-dom": "registry:dt/react-dom#0.14.0+20160412154040"
}
}
Loading…
Cancel
Save