source: trip-planner-front/node_modules/ajv/lib/vocabularies/discriminator/types.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 251 bytes
Line 
1import type {ErrorObject} from "../../types"
2
3export enum DiscrError {
4 Tag = "tag",
5 Mapping = "mapping",
6}
7
8export type DiscrErrorObj<E extends DiscrError> = ErrorObject<
9 "discriminator",
10 {error: E; tag: string; tagValue: unknown},
11 string
12>
Note: See TracBrowser for help on using the repository browser.