UNPKG

@strapi/types

Version:

Shared typescript types for Strapi internal use

8 lines 323 B
import type { validate } from '@strapi/utils'; export interface ValidatorsRegistry { get(path: string): validate.Validator[]; add(path: string, validator: validate.Validator): this; set(path: string, value?: validate.Validator[]): this; has(path: string): boolean; } //# sourceMappingURL=validators.d.ts.map