UNPKG

typed-scss-modules

Version:

TypeScript type definition generator for SCSS CSS Modules

9 lines (8 loc) 268 B
/** * Try to load prettier and config from project to format input, * fall back to input if prettier is not found or failed * * @param {file} file * @param {string} input */ export declare const attemptPrettier: (file: string, input: string) => Promise<string>;