astro.config.ts(191,3): error TS2322: Type 'AstroIntegration' is not assignable to type 'false | AstroIntegration | (false | AstroIntegration | null | undefined)[] | null | undefined'.
Type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/dist/@types/astro").AstroIntegration' is not assignable to type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/@types/astro").AstroIntegration'.
The types of 'hooks['astro:config:setup']' are incompatible between these types.
Type '(options: { config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/dist/@types/astro").AstroConfig; command: "build" | "dev" | "preview"; ... 10 more ...; logger: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_m...' is not assignable to type '(options: { config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/@types/astro").AstroConfig; command: "build" | "dev" | "preview"; isRestart: boolean; updateConfig: (newConfig: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/type-utils").DeepPartial<...>) => import(...'.
Types of parameters 'options' and 'options' are incompatible.
Type '{ config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/@types/astro").AstroConfig; command: "build" | "dev" | "preview"; isRestart: boolean; updateConfig: (newConfig: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/type-utils").DeepPartial<...>) => import("/home/run...' is not assignable to type '{ config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/dist/@types/astro").AstroConfig; command: "build" | "dev" | "preview"; ... 10 more ...; logger: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/ast...'.
The types of 'config.integrations' are incompatible between these types.
Type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/@types/astro").AstroIntegration[]' is not assignable to type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/dist/@types/astro").AstroIntegration[]'.
Type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/@types/astro").AstroIntegration' is not assignable to type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/dist/@types/astro").AstroIntegration'.
The types of 'hooks['astro:config:setup']' are incompatible between these types.
Type '(options: { config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/@types/astro").AstroConfig; command: "build" | "dev" | "preview"; isRestart: boolean; updateConfig: (newConfig: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/type-utils").DeepPartial<...>) => import(...' is not assignable to type '(options: { config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/dist/@types/astro").AstroConfig; command: "build" | "dev" | "preview"; ... 10 more ...; logger: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_m...'.
Types of parameters 'options' and 'options' are incompatible.
Type '{ config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/dist/@types/astro").AstroConfig; command: "build" | "dev" | "preview"; ... 10 more ...; logger: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/ast...' is not assignable to type '{ config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/@types/astro").AstroConfig; command: "build" | "dev" | "preview"; isRestart: boolean; updateConfig: (newConfig: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro/dist/type-utils").DeepPartial<...>) => import("/home/run...'.
The types of 'config.vite.plugins' are incompatible between these types.
Type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/index").PluginOption[]' is not assignable to type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").PluginOption[]'.
Type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/index").PluginOption' is not assignable to type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").PluginOption'.
Type 'Plugin<any>' is not assignable to type 'PluginOption'.
Type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/index").Plugin<any>' is not assignable to type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").Plugin<any>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types of property 'apply' are incompatible.
Type '"build" | "serve" | ((this: void, config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/index").UserConfig, env: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_mod...' is not assignable to type '"build" | "serve" | ((this: void, config: import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").UserConfig, env: import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").ConfigEnv) => boolean)'.
Type '(this: void, config: UserConfig, env: ConfigEnv) => boolean' is not assignable to type '"build" | "serve" | ((this: void, config: UserConfig, env: ConfigEnv) => boolean)'.
Type '(this: void, config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/index").UserConfig, env: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/i...' is not assignable to type '(this: void, config: import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").UserConfig, env: import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").ConfigEnv) => boolean'.
Types of parameters 'config' and 'config' are incompatible.
Type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").UserConfig' is not assignable to type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/index").UserConfig' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types of property 'plugins' are incompatible.
Type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").PluginOption[]' is not assignable to type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/index").PluginOption[]'.
Type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").PluginOption' is not assignable to type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/index").PluginOption'.
Type 'Plugin<any>' is not assignable to type 'PluginOption'.
Type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").Plugin<any>' is not assignable to type 'import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/index").Plugin<any>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types of property 'apply' are incompatible.
Type '"build" | "serve" | ((this: void, config: import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").UserConfig, env: import("/home/runner/work/astrolarva/astrolarva/node_modules/vite/dist/node/index").ConfigEnv) => boolean)' is not assignable to type '"build" | "serve" | ((this: void, config: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_modules/vite/dist/node/index").UserConfig, env: import("/home/runner/work/astrolarva/astrolarva/node_modules/astro-better-image-service/node_modules/astro/node_mod...'.
Type '(this: void, config: UserConfig, env: ConfigEnv) => boolean' is not assignable to type '"build" | "serve" | ((this: void, config: UserConfig, env: ConfigEnv) => boolean)'.
error: "tsc" exited with code 2
Error: Process completed with exit code 2.