Re-add noUnknown to yup schema for plots
This commit is contained in:
parent
483aaf73db
commit
59e937ad7c
|
@ -27,6 +27,7 @@ function ok<a, b>(x: a): result<a, b> {
|
||||||
|
|
||||||
const schema = yup
|
const schema = yup
|
||||||
.object()
|
.object()
|
||||||
|
.noUnknown()
|
||||||
.strict()
|
.strict()
|
||||||
.shape({
|
.shape({
|
||||||
distributions: yup
|
distributions: yup
|
||||||
|
|
Loading…
Reference in New Issue
Block a user