From 3b76d6d9c1e3379ab0c6a465355455cbde649edf Mon Sep 17 00:00:00 2001 From: Syntax <2079305+TheUltDev@users.noreply.github.com> Date: Fri, 10 May 2024 12:33:30 +0900 Subject: [PATCH] Fix types --- design/env.d.ts | 6 +++++- toolkit/bundler/src/lib/exo.web.ts | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/design/env.d.ts b/design/env.d.ts index 0af93c5..a39ea26 100644 --- a/design/env.d.ts +++ b/design/env.d.ts @@ -1,11 +1,15 @@ import type {AppThemes, AppBreakpoints} from './styles'; import type {SvgProps} from 'react-native-svg'; -declare module 'design/styles' { +declare module 'styles' { export interface UnistylesThemes extends AppThemes {} export interface UnistylesBreakpoints extends AppBreakpoints {} } +declare module 'design/styles' { + export * from 'styles'; +} + declare module '*.svg' { const content: React.FC; export default content; diff --git a/toolkit/bundler/src/lib/exo.web.ts b/toolkit/bundler/src/lib/exo.web.ts index aec54fb..32ad806 100644 --- a/toolkit/bundler/src/lib/exo.web.ts +++ b/toolkit/bundler/src/lib/exo.web.ts @@ -75,6 +75,7 @@ export default defineConfig(env => mergeConfig( }, optimizeDeps: { exclude: [ + '@vidstack/react', '@dotlottie/common', '@dotlottie/react-player', ],