source: trip-planner-front/node_modules/ajv/dist/vocabularies/discriminator/types.d.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: 279 bytes
RevLine 
[6a3a178]1import type { ErrorObject } from "../../types";
2export declare enum DiscrError {
3 Tag = "tag",
4 Mapping = "mapping"
5}
6export declare type DiscrErrorObj<E extends DiscrError> = ErrorObject<"discriminator", {
7 error: E;
8 tag: string;
9 tagValue: unknown;
10}, string>;
Note: See TracBrowser for help on using the repository browser.