From 540f325a91ae38f5be134f1430b94f9c51bf1b4a Mon Sep 17 00:00:00 2001 From: William Wong Date: Wed, 20 Sep 2023 23:26:08 +0000 Subject: [PATCH] Remove ts-expect-error --- packages/component/src/Composer.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/component/src/Composer.tsx b/packages/component/src/Composer.tsx index 992a286a07..e4a4508d51 100644 --- a/packages/component/src/Composer.tsx +++ b/packages/component/src/Composer.tsx @@ -127,7 +127,6 @@ const ComposerCore: FC = ({ const emotion = // Prefix "id-" to prevent object injection attack. emotionPool[`id-${nonce}`] || - // @ts-expect-error TS1479 should be fixed when bumping to typescript@5. (emotionPool[`id-${nonce}`] = createEmotion({ key: `webchat--css-${createCSSKey()}`, nonce })); return style => emotion.css(style);