Files
reverse-engineering-anything/scripts/lib/generated-file.d.mts
T

15 lines
421 B
TypeScript

export interface GeneratedFileOptions {
readonly path: string;
readonly source: string;
readonly check: boolean;
readonly generateCommand: string;
}
export function checkOnly(generator: string, args?: readonly string[]): boolean;
export function ensureGeneratedFile(
options: GeneratedFileOptions,
): Promise<{ readonly changed: boolean }>;
export function readNormalizedText(path: string): Promise<string>;