diff --git a/packages/core/src/errors/responseValidationError.ts b/packages/core/src/errors/responseValidationError.ts index 721b4765..c8f67af4 100644 --- a/packages/core/src/errors/responseValidationError.ts +++ b/packages/core/src/errors/responseValidationError.ts @@ -10,7 +10,7 @@ export class ResponseValidationError public request: HttpRequest; public statusCode: number; public headers: Record; - public result: never = undefined as never; + public result!: never; public body: string | Blob | NodeJS.ReadableStream; public errors: SchemaValidationError[];