DefinitelyTyped/types/cssesc/index.d.ts
2019-02-13 09:24:08 +00:00

23 lines
569 B
TypeScript

// Type definitions for cssesc 3.0
// Project: https://mths.be/cssesc
// Definitions by: Daniel Cassidy <https://github.com/djcsdy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
export = cssesc;
declare function cssesc(string: string, options?: Readonly<Partial<cssesc.Options>>): string;
declare namespace cssesc {
interface Options {
escapeEverything: boolean;
isIdentifier: boolean;
quotes: string;
wrap: boolean;
}
const options: Options;
const version: string;
}