mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
14 lines
200 B
TypeScript
14 lines
200 B
TypeScript
import cssEscape = require('css.escape');
|
|
|
|
// $ExpectType string
|
|
cssEscape('--string');
|
|
|
|
// @ts-expect-error
|
|
cssEscape({});
|
|
|
|
// $ExpectType string
|
|
CSS.escape('');
|
|
|
|
// @ts-expect-error
|
|
CSS.escape({});
|