diff --git a/packages/build/src/error/types.ts b/packages/build/src/error/types.ts index 641eb59104..d4cbb31ab3 100644 --- a/packages/build/src/error/types.ts +++ b/packages/build/src/error/types.ts @@ -1,7 +1,9 @@ -export type BuildError = BasicErrorInfo & { +// We override errorProps and title through getTitle and getErrorProps +export type BuildError = Omit & { title: string pluginInfo?: string locationInfo?: string + errorProps?: string } export type BasicErrorInfo = {