Using `Schema.pick` with Schema Classes in TypeScript
how do you use
Schema.pick when using schema classes? this seems really wrong..Schema.pickexport class CreateInvoice extends S.Class<CreateInvoice>("CreateInvoice")(
S.Struct(Invoice.fields).pipe(
S.pick(
"Type",
"Contact",
"LineItems",
"Date",
)
).fields
) {}