mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-06 06:59:13 +08:00
10 lines
279 B
Text
10 lines
279 B
Text
import type { ErrorObject } from "../../types";
|
|
export declare enum DiscrError {
|
|
Tag = "tag",
|
|
Mapping = "mapping"
|
|
}
|
|
export declare type DiscrErrorObj<E extends DiscrError> = ErrorObject<"discriminator", {
|
|
error: E;
|
|
tag: string;
|
|
tagValue: unknown;
|
|
}, string>;
|