Allow es6 import for addons-create-fragment/addons-shallow-compare

This commit is contained in:
Alexey Svetliakov
2016-07-09 06:46:14 +02:00
parent ea054545ee
commit 6a36f6d5b6
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;
}