diff --git a/internal/vite-config/src/typing.ts b/internal/vite-config/src/typing.ts index 69e9fd37..907a723e 100644 --- a/internal/vite-config/src/typing.ts +++ b/internal/vite-config/src/typing.ts @@ -139,12 +139,12 @@ type ApplicationOptions = ApplicationPluginOptions; type LibraryOptions = LibraryPluginOptions; -type DefineApplicationOptions = (config: ConfigEnv) => Promise<{ +type DefineApplicationOptions = (config?: ConfigEnv) => Promise<{ application?: ApplicationOptions; vite?: UserConfig; }>; -type DefineLibraryOptions = (config: ConfigEnv) => Promise<{ +type DefineLibraryOptions = (config?: ConfigEnv) => Promise<{ library?: LibraryOptions; vite?: UserConfig; }>;