16 lines
318 B
TypeScript
16 lines
318 B
TypeScript
|
|
/**
|
||
|
|
* CSS escaper.
|
||
|
|
*/
|
||
|
|
export default class CSSEscaper {
|
||
|
|
/**
|
||
|
|
* Escapes CSS.
|
||
|
|
*
|
||
|
|
* Based on:
|
||
|
|
* https://github.com/mathiasbynens/CSS.escape
|
||
|
|
*
|
||
|
|
* @param cssText CSS.
|
||
|
|
* @returns Escaped CSS.
|
||
|
|
*/
|
||
|
|
static escape(cssText: string): string;
|
||
|
|
}
|
||
|
|
//# sourceMappingURL=CSSEscaper.d.ts.map
|