projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.gitignore added
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
table
/
node_modules
/
ajv
/
lib
/
vocabularies
/
discriminator
/
types.ts
1
import type {ErrorObject} from "../../types"
2
3
export enum DiscrError {
4
Tag = "tag",
5
Mapping = "mapping",
6
}
7
8
export type DiscrErrorObj<E extends DiscrError> = ErrorObject<
9
"discriminator",
10
{error: E; tag: string; tagValue: unknown},
11
string
12
>