UNPKG

babel-plugin-typescript-to-proptypes

Version:
13 lines 383 B
import { types as t } from '@babel/core'; interface Response { defaultImport: string; namedImport: string; namedImports: string[]; } interface UpsertOptions { checkForDefault?: string; checkForNamed?: string; } export declare function upsertImport(imp: t.ImportDeclaration, options?: UpsertOptions): Response; export {}; //# sourceMappingURL=upsertImport.d.ts.map