@baseplate-dev/core-generators
Version:
Core generators for Baseplate
21 lines • 599 B
TypeScript
import type { GeneratorTaskOutputBuilder, WriteFileOptions } from '@baseplate-dev/sync';
interface WriteJsonToBuilderOptions extends WriteFileOptions {
/**
* The ID of the file to write
*/
id: string;
/**
* The destination of the file to write
*/
destination: string;
/**
* The contents of the file to write
*/
contents: unknown;
}
/**
* Writes a JSON file to the builder
*/
export declare function writeJsonToBuilder(builder: GeneratorTaskOutputBuilder, options: WriteJsonToBuilderOptions): void;
export {};
//# sourceMappingURL=json.d.ts.map