From 432eb3180cef802b0254db490c3781d3f892d63c Mon Sep 17 00:00:00 2001 From: "Ben Scholzen (DASPRiD)" Date: Wed, 30 Mar 2022 03:58:11 +0200 Subject: [PATCH] fix: remove @emotion/core types after running yarn There is a known issue with storybook that the @emotion/core dependency augments the React `HTMLAttributes` with an additional `css` property. This causes the compiled types of react-bootstrap-typeahead to include that attribute as well, which in turns breaks Typescript compilation of projects using it. See: https://github.com/emotion-js/emotion/issues/1257#issuecomment-547188357 --- .yarnclean | 1 + 1 file changed, 1 insertion(+) create mode 100644 .yarnclean diff --git a/.yarnclean b/.yarnclean new file mode 100644 index 00000000..8890bd3f --- /dev/null +++ b/.yarnclean @@ -0,0 +1 @@ +@emotion/core/types