GT2/GT2-iOS/node_modules/hoist-non-react-statics/index.d.ts

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
}