typeschema icon indicating copy to clipboard operation
typeschema copied to clipboard

TypeSchema breaks with TypeScript 5.5.2

Open TheEdoRan opened this issue 8 months ago • 2 comments

When using TypeScript 5.5.2, the imported Schema is typed any. Note that this is with @typeschema/main, @typeschema/zod and zod packages installed, using workspace TypeScript version in VS Code (the current default editor one is 5.4).

image

.vscode/settings.json (to use workspace TS Version):

{
  "typescript.tsdk": "node_modules/typescript/lib"
}

I'm using pnpm, but I've just tried with npm and got the same result.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

TheEdoRan avatar Jun 24 '24 12:06 TheEdoRan