UNPKG

@baseplate-dev/sync

Version:

Library for syncing Baseplate descriptions

12 lines 532 B
/** * Formats the contents of a generated template file using Prettier * * Should only be used for template extraction purposes since it caches the prettier config * as a global variable. * * @param contents The contents of the generated template file * @param path The path of the generated template file * @returns The formatted contents of the generated template file */ export declare function formatGeneratedTemplateContents(contents: string, filePath: string): Promise<string>; //# sourceMappingURL=formatter.d.ts.map