UNPKG

344 BTypeScriptView Raw
1import { FileInfo, API } from 'jscodeshift';
2import { BabelFile } from '@babel/core';
3
4declare function transform(info: FileInfo, api: API, options: {
5 parser?: string;
6}): string;
7declare const parser = "tsx";
8declare function upgradeDeprecatedTypes(file: BabelFile): void;
9
10export { transform as default, parser, upgradeDeprecatedTypes };