effect icon indicating copy to clipboard operation
effect copied to clipboard

Can't use @effect/sql Model in playground

Open evelant opened this issue 7 months ago • 0 comments

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

evelant avatar May 13 '25 20:05 evelant