diff --git a/packages/framework/src/validators/class-validator.validator.ts b/packages/framework/src/validators/class-validator.validator.ts index c26cc9cb282..9b88a97a1f5 100644 --- a/packages/framework/src/validators/class-validator.validator.ts +++ b/packages/framework/src/validators/class-validator.validator.ts @@ -102,7 +102,7 @@ export class ClassValidatorValidator implements Validator { try { /* * TODO: replace with direct import, when metadataStorage is exported by default: https://github.com/typestack/class-transformer/issues/563#issuecomment-803262394 - * @ts-ignore + * @ts-expect-error - class-transformer doesn't export `defaultMetadataStorage` from the root module */ const { defaultMetadataStorage: defaultMetadataStorageCjs } = await import('class-transformer/cjs/storage'); // @ts-ignore