Skip to content

Commit

Permalink
Update packages/framework/src/validators/class-validator.validator.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rifont authored Nov 8, 2024
1 parent f74470a commit e7f3ef8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class ClassValidatorValidator implements Validator<ClassType> {
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
Expand Down

0 comments on commit e7f3ef8

Please sign in to comment.