-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following error is encountered in TS #2
Comments
+1 |
2 similar comments
+1 |
+1 |
this issue has been resolved |
this issue has been resolved |
Parameter of type "({ mode }: ConfigEnv) => { plugins: (Plugin_2 | PluginOption)[]; resolve: { alias: { '@': string; }; }; server: { hmr: true; host: string; port: number; proxy: { '/api': { target: string; changeOrigin: true; rewrite: (path: string) => string; }; }; }; base: string; build: { ...; }; }" cannot be assigned to type "UserConfigExport".
Cannot assign type "({ mode }: ConfigEnv) => { plugins: (Plugin_2 | PluginOption)[]; resolve: { alias: { '@': string; }; }; server: { hmr: true; host: string; port: number; proxy: { '/api': { target: string; changeOrigin: true; rewrite: (path: string) => string; }; }; }; base: string; build: { ...; }; }" to type "UserConfigFn".
Cannot assign type "{ plugins: (Plugin_2 | PluginOption)[]; resolve: { alias: { '@': string; }; }; server: { hmr: true; host: string; port: number; proxy: { '/api': { target: string; changeOrigin: true; rewrite: (path: string) => string; }; }; }; base: string; build: { ...; }; }" to type "UserConfig | Promise".
Cannot assign type "{ plugins: (Plugin_2 | PluginOption)[]; resolve: { alias: { '@': string; }; }; server: { hmr: true; host: string; port: number; proxy: { '/api': { target: string; changeOrigin: true; rewrite: (path: string) => string; }; }; }; base: string; build: { ...; }; }" to type "UserConfig".
The property "plugins" is incompatible.
Cannot assign type "(Plugin_2 | PluginOption)[]" to type "PluginOption[]".
Cannot assign type "Plugin_2 | PluginOption" to type "PluginOption".
Cannot assign type "Plugin" to type "PluginOption".
Cannot assign type "Plugin" to type "Plugin_2".
The property "apply" is incompatible.
The text was updated successfully, but these errors were encountered: