mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-02-02 18:28:40 +08:00
chore: modify the type of the incoming function in the vite configuration (#4622)
* fix: viteconfig funciont type error --------- Co-authored-by: afe1 <yunfei.zhu@nwowtec.com>
This commit is contained in:
parent
304b1b2efc
commit
0a99f27127
@ -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;
|
||||
}>;
|
||||
|
Loading…
Reference in New Issue
Block a user