Effect CommunityEC
Effect Community2y ago
10 replies
David Novák

Trouble Accessing S.Schema.To Type Definition

Hello,
does anyone having trouble accessing S.Schema.To type definition (from import * as S from "@effect/schema"; )? I am trying to access it and I get TS error that ...@effect/schema/dist/dts/Schema"' has no exported member named 'To' .

I am using @effect/schema 0.63.0, Bun, Typescript 5.3.3 and I made sure to include both compiler flags in my tsconfig ("strict": true,"exactOptionalPropertyTypes": true,).
Was this page helpful?