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).
.vscode/settings.json (to use workspace TS Version):
When using TypeScript 5.5.2, the imported
Schema
is typedany
. Note that this is with@typeschema/main
,@typeschema/zod
andzod
packages installed, using workspace TypeScript version in VS Code (the current default editor one is 5.4)..vscode/settings.json
(to use workspace TS Version):I'm using pnpm, but I've just tried with npm and got the same result.
Upvote & Fund