Skip to content

Commit

Permalink
fix dts
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Dec 6, 2018
1 parent bb77e7c commit 7397ff6
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 591 deletions.
2 changes: 1 addition & 1 deletion react-component-wrapper.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
declare module 'hoist-react-statics' {
export function hoistReactStatic<T>(targetComponent: any, sourceComponent: T): T;
export default function hoistReactStatic<T>(targetComponent: any, sourceComponent: T): T;
}
2 changes: 1 addition & 1 deletion src/index.js.flow
Original file line number Diff line number Diff line change
@@ -1 +1 @@
declare export function hoistReactStatic<T>(targetComponent: any, sourceComponent:T): T;
declare export default function hoistReactStatic<T>(targetComponent: any, sourceComponent:T): T;

0 comments on commit 7397ff6

Please sign in to comment.