Merge pull request #10033 from asvetliakov/react-addons-import-fix

Allow es6 import for addons-create-fragment/addons-shallow-compare
This commit is contained in:
Mohamed Hegazy
2016-07-11 19:28:08 -07:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -12,5 +12,6 @@ declare namespace __React {
}
declare module "react-addons-create-fragment" {
export = __React.__Addons.createFragment;
var createFragment: typeof __React.__Addons.createFragment;
export = createFragment;
}

View File

@@ -15,5 +15,6 @@ declare namespace __React {
}
declare module "react-addons-shallow-compare" {
export = __React.__Addons.shallowCompare;
var shallowCompare: typeof __React.__Addons.shallowCompare;
export = shallowCompare;
}