mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Allow es6 import for addons-create-fragment/addons-shallow-compare
This commit is contained in:
3
react/react-addons-create-fragment.d.ts
vendored
3
react/react-addons-create-fragment.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
3
react/react-addons-shallow-compare.d.ts
vendored
3
react/react-addons-shallow-compare.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user