Re-add noUnknown to yup schema for plots

This commit is contained in:
Sam Nolan 2022-09-21 09:42:21 +09:30
parent 483aaf73db
commit 59e937ad7c

View File

@ -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