UNPKG

569 BTypeScriptView Raw
1// Type definitions for cssesc 3.0
2// Project: https://mths.be/cssesc
3// Definitions by: Daniel Cassidy <https://github.com/djcsdy>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5// TypeScript Version: 2.1
6
7export = cssesc;
8
9declare function cssesc(string: string, options?: Readonly<Partial<cssesc.Options>>): string;
10
11declare namespace cssesc {
12 interface Options {
13 escapeEverything: boolean;
14 isIdentifier: boolean;
15 quotes: string;
16 wrap: boolean;
17 }
18
19 const options: Options;
20
21 const version: string;
22}