From 55caf2ae5bdae649ffd9d5150a7a375a01690195 Mon Sep 17 00:00:00 2001 From: Matt Wood Date: Mon, 1 Feb 2021 14:13:05 -0600 Subject: [PATCH] fix: add CSS as a global optional type for React DOM Attributes --- types/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/index.d.ts b/types/index.d.ts index c638b7b3..9a7ad6cb 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -7,3 +7,9 @@ declare global { } } } + +declare module 'react' { + interface DOMAttributes { + css?: any; + } +}