Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
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.