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
/
jtd
/
union.ts
1
import type {CodeKeywordDefinition} from "../../types"
2
import {validateUnion} from "../code"
3
4
const def: CodeKeywordDefinition = {
5
keyword: "union",
6
schemaType: "array",
7
trackErrors: true,
8
code: validateUnion,
9
error: {message: "must match a schema in union"},
10
}
11
12
export default def