You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
5.5.0-dev.20240524 regression on "The inferred type of 'X' cannot be named without a reference" #58710
You can try running the type-checking command in the root of the monorepo: pnpm type-check.
🙁 Actual behavior
This error happens:
TS2742: The inferred type of 't' cannot be named without a reference to '../../node_modules/@trpc/server/dist/core/internals/config.js'. This is likely not portable. A type annotation is necessary.
3 export const t = initTRPC.create();
Activity
Andarist commentedon May 30, 2024
It would be great if u could post what dts was generated there in 5.4
jgoux commentedon May 30, 2024
Here are the produced dts files for both
5.4.5and5.5.0-dev.20240523(last working version): https://gist.github.com/jgoux/aec06283fb607c1c850ef1c9025af0c4