main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
292 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | import type {CodeKeywordDefinition} from "../../types"
|
---|
| 2 | import {validateTuple} from "./items"
|
---|
| 3 |
|
---|
| 4 | const def: CodeKeywordDefinition = {
|
---|
| 5 | keyword: "prefixItems",
|
---|
| 6 | type: "array",
|
---|
| 7 | schemaType: ["array"],
|
---|
| 8 | before: "uniqueItems",
|
---|
| 9 | code: (cxt) => validateTuple(cxt, "items"),
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | export default def
|
---|
Note:
See
TracBrowser
for help on using the repository browser.