source:
trip-planner-front/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 279 bytes |
Line | |
---|---|
1 | import type { ErrorObject } from "../../types"; |
2 | export declare enum DiscrError { |
3 | Tag = "tag", |
4 | Mapping = "mapping" |
5 | } |
6 | export 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.