From 041dc41539acc163aee6fce7dc77137102c4eefe Mon Sep 17 00:00:00 2001 From: William Wong Date: Mon, 8 Apr 2024 09:16:37 +0000 Subject: [PATCH] Fix precommit --- packages/fluent-theme/src/bundle.ts | 2 +- packages/fluent-theme/src/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fluent-theme/src/bundle.ts b/packages/fluent-theme/src/bundle.ts index 23296174e1..b20609bf1b 100644 --- a/packages/fluent-theme/src/bundle.ts +++ b/packages/fluent-theme/src/bundle.ts @@ -1,3 +1,3 @@ import { FluentThemeProvider } from './index'; -globalThis.WebChat = { ...globalThis.WebChat, FluentThemeProvider }; +(globalThis as any).WebChat = { ...(globalThis as any).WebChat, FluentThemeProvider }; diff --git a/packages/fluent-theme/src/tsconfig.json b/packages/fluent-theme/src/tsconfig.json index 649910a0cd..0f7e726bf9 100644 --- a/packages/fluent-theme/src/tsconfig.json +++ b/packages/fluent-theme/src/tsconfig.json @@ -1,11 +1,11 @@ { "compilerOptions": { "allowSyntheticDefaultImports": true, + "checkJs": false, "jsx": "react", "moduleResolution": "Bundler", "skipLibCheck": true, "target": "ESNext" }, - "files": ["index.ts"], "extends": "@tsconfig/strictest/tsconfig.json" }