UNPKG

@xtrek/ts-migrate-plugins

Version:

Set of codemods, which are doing transformation of js/jsx to ts/tsx

14 lines (13 loc) 427 B
import { Plugin } from 'ts-migrate-server'; import { AnyAliasOptions } from '../utils/validateOptions'; declare type TypeMap = Record<string, TypeOptions>; declare type TypeOptions = string | { tsName?: string; acceptsTypeParameters?: boolean; }; declare type Options = { annotateReturns?: boolean; typeMap?: TypeMap; } & AnyAliasOptions; declare const jsDocPlugin: Plugin<Options>; export default jsDocPlugin;