@types/css.escape
TypeScript icon, indicating that this package has built-in type declarations

1.5.2 • Public • Published

Installation

npm install --save @types/css.escape

Summary

This package contains type definitions for css.escape (https://github.com/mathiasbynens/CSS.escape).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/css.escape.

index.d.ts

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;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Mihnea Stoian.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/css.escape

Weekly Downloads

10,484

Version

1.5.2

License

MIT

Unpacked Size

3.11 kB

Total Files

5

Last publish

Collaborators

  • types