Handling Empty Structs in Schema Validation

Is it intended that Schema.Struct({}) will accept any non nullish value just like the typescript type? Even with onExessProperty: "error" it still allows all data through

If so, is the way to do an empty struct just Schema.Record({ key: Schema.String, value: Schema.Never }) ?
Was this page helpful?