@softkit/i18n
Version:
This library is a simple wrapper based on [nestjs-i18n](https://nestjs-i18n.com/)
31 lines (30 loc) • 896 B
TypeScript
import yargs from 'yargs';
import chokidar from 'chokidar';
export interface GenerateTypesArguments {
typesOutputPath: string;
watch: boolean;
debounce: number;
loaderType: string[];
optionsFile?: string;
translationsPath: string[];
}
export declare class GenerateTypesCommand implements yargs.CommandModule<object, GenerateTypesArguments> {
fsWatcher: chokidar.FSWatcher | undefined;
command: string;
describe: string;
builder(args: yargs.Argv<object>): yargs.Argv<object & {
debounce: number;
} & {
optionsFile: string | undefined;
} & {
watch: boolean;
} & {
typesOutputPath: string;
} & {
loaderType: string[] | never[];
} & {
translationsPath: string[] | never[];
}>;
handler(args: yargs.Arguments<GenerateTypesArguments>): Promise<void>;
stopWatcher(): Promise<void>;
}