effect
effect copied to clipboard
Can't use @effect/sql Model in playground
What version of Effect is running?
@effect/sql 0.35.0
What steps can reproduce the bug?
See this example: https://effect.website/play/#2ff1eff0f6bb
What is the expected behavior?
All effect modules should work correctly in the playground
What do you see instead?
node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/@effect/sql/dist/dts/Model.d.ts(10,987): error TS2536: Type 'keyof ExtractFields<"select", Fields, true>' cannot be used to index type 'ExtractFields<"select", Fields, true> extends infer T_3 ? { [K in keyof T_3]: ExtractFields<"select", Fields, true>[K]; } : never'.
Additional information
No response