DefinitelyTyped/types/sheetify/index.d.ts

14 lines
593 B
TypeScript

// Type definitions for sheetify 6.0
// Project: https://github.com/stackcss/sheetify
// Definitions by: Todd Kennedy <https://github.com/toddself>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace sheetify {
function getPrefix(css: string): string;
}
declare function sheetify(src: string | TemplateStringsArray, filename?: string, options?: {[prop: string]: any}, done?: (err: Error, css: string, prefix: string) => void): string;
declare function sheetify(src: string | TemplateStringsArray, options: {[prop: string]: any}): void;
export = sheetify;