Schema inferring type, Simplify<S.ToStruct<Fields>> instead
I have a typescript project where I want to use @effect/schema/Schema to validate my types. However when I try to use
tsconfig.json
package.json
Does anyone know why I can't get the expected type inference?
S.parse or S.Schema.To<typeof mySchema> all I get is a typedefinition as this: Simplify<S.ToStruct<Fields>>tsconfig.json
package.json
Does anyone know why I can't get the expected type inference?
