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 |
|
7 | export = cssesc;
|
8 |
|
9 | declare function cssesc(string: string, options?: Readonly<Partial<cssesc.Options>>): string;
|
10 |
|
11 | declare 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 | }
|