UNPKG

react-dts-generator

Version:
19 lines (18 loc) 429 B
export interface ImportType { named?: string; default?: string; from: string; } export interface Extends { includePropsAsGeneric?: boolean; import: ImportType; } export interface Options { input: string; output: string; isBaseClass?: boolean; propTypesComposition?: ImportType[]; extends?: Extends; imports?: ImportType[]; } export declare function generate(options: Options): string;