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) 518 B
import { VarType } from "./contracts"; export declare class CssToTsConverter { private outputDir; private outputFileName; private cssDir; private cssFileName; private varName; private header; private removeSource; private varType; constructor(outputDir: string, outputFileName: string, cssDir: string, cssFileName: string, varName: string, header?: string | undefined, removeSource?: boolean | undefined, varType?: VarType | undefined); Convert(): Promise<void>; }