UNPKG

402 BTypeScriptView Raw
1import { Project } from '../fs/project.js';
2/**
3 * A preprocessor changes files before writing them to the sandbox.
4 * Stuff like rewriting references tsconfig.json files or adding // @ts-nocheck
5 * This is a private api that we might want to open up in the future.
6 */
7export interface FilePreprocessor {
8 preprocess(files: Project): Promise<void>;
9}
10//# sourceMappingURL=file-preprocessor.d.ts.map
\No newline at end of file