10 lines
316 B
TypeScript
10 lines
316 B
TypeScript
declare module 'hoist-non-react-statics' {
|
|
import * as React from 'react';
|
|
function hoistNonReactStatics<Own, Custom>(
|
|
TargetComponent: React.ComponentType<Own>,
|
|
SourceComponent: React.ComponentType<Own & Custom>,
|
|
customStatic?: any): React.ComponentType<Own>;
|
|
|
|
export = hoistNonReactStatics
|
|
}
|