Runtime Failure Without Type Checker Error in TypeScript Example
In this example, I have a runtime failure without any type checker error. Is this a bug? https://effect.website/play#80c6ea792cac
import { Schema } from "@effect/schema"
export class Bar extends Schema.Class<Bar>("Bar")({
s: Schema.String
}) {
// _() {} // uncomment this to have a type failure
}
const Foo = Schema.Struct({ bar: Bar })
Foo.make({ bar: { s: "" } })