react-native-i18n-auto
Version:
Auto i18n tool for React Native with full TypeScript support
19 lines • 462 B
TypeScript
import { PluginObj } from '@babel/core';
import * as t from '@babel/types';
interface PluginState {
i18nUsed: boolean;
opts: {
extractedTexts?: Set<string>;
};
file: {
metadata: {
extractedCount: number;
};
};
}
interface BabelTypes {
types: typeof t;
}
export default function ({ types: babelTypes }: BabelTypes): PluginObj<PluginState>;
export {};
//# sourceMappingURL=babel-plugin-i18n-auto.d.ts.map