Added tests for v6 and v7 bool types.

This commit is contained in:
andy
2018-09-19 13:35:12 -04:00
parent 3e5de7d25e
commit 92b3fb7b10
+3 -1
View File
@@ -149,6 +149,7 @@ import {
propertyNames: {},
format: 'date-time'
}
const c: JSONSchema7 = false;
}
/* JSON Schema 7 */
@@ -167,7 +168,7 @@ import {
const c: JSONSchema7Type = [1, 2]
}
// JSONSchema4
// JSONSchema7
() => {
const a: JSONSchema7 = {}
const b: JSONSchema7 = {
@@ -228,4 +229,5 @@ import {
if: {},
then: {}
}
const c: JSONSchema7 = false;
}