diff --git a/src/index.ts b/src/index.ts index 6cdd902..f5dd17b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,5 @@ // tslint:disable:no-submodule-imports ban-types import * as cv from 'class-validator' -import { ConstraintMetadata } from 'class-validator/types/metadata/ConstraintMetadata' import { ValidationMetadata } from 'class-validator/types/metadata/ValidationMetadata' import _groupBy from 'lodash.groupby' import _merge from 'lodash.merge' @@ -13,9 +12,8 @@ import { defaultOptions, IOptions } from './options' export { JSONSchema } from './decorators' type IStorage = { - validationMetadatas: Map - constraintMetadatas: Map -} & Omit + validationMetadatas: Map +} & Omit /** * Convert class-validator metadata into JSON Schema definitions.