Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
279 bytes
|
Rev | Line | |
---|
[6a3a178] | 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.