add typings.json

This commit is contained in:
yiminghe 2016-05-27 13:02:50 +08:00
parent 4500f2e9ee
commit ec916e5f72
3 changed files with 8 additions and 4 deletions

1
.gitignore vendored
View File

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

View File

@ -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
View File

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