mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
17 lines
508 B
TypeScript
17 lines
508 B
TypeScript
// Type definitions for css.escape 1.5
|
|
// Project: https://github.com/mathiasbynens/CSS.escape
|
|
// Definitions by: Mihnea Stoian <https://github.com/mihnea-s>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare global {
|
|
const CSS: {
|
|
/**
|
|
* A robust polyfill for the `CSS.escape` utility method as defined in
|
|
* [CSSOM](https://drafts.csswg.org/cssom/#the-css.escape()-method).
|
|
*/
|
|
escape(css: string): string;
|
|
};
|
|
}
|
|
|
|
export = CSS.escape;
|