UNPKG

css-to-ts

Version:

css-to-ts takes a css file and outputs a TypeScript file with an exported string containing a content of your css file.

14 lines (13 loc) 411 B
import { CLIOptions } from "./contracts"; export declare class CLIHandler { private options; constructor(options: CLIOptions); private handleGlob(); private watchCss(); private onWatchChange; private onWatchError; private emitWatchMessage(); private convertFile(filePath); private resolveVarName(fileName); private constructFileName(fileName, extension?); }