mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
13 lines
184 B
TypeScript
13 lines
184 B
TypeScript
import toStyle from "css-to-style";
|
|
|
|
// @ts-expect-error
|
|
toStyle();
|
|
|
|
// @ts-expect-error
|
|
toStyle({});
|
|
|
|
// @ts-expect-error
|
|
toStyle(1);
|
|
|
|
toStyle(''); // $ExpectType CSSStyleDeclaration
|