-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isolated declarations errors occur in third-party node_modules when they ship with original TypeScript source files #58909
Comments
This also seems to lead to a crash when using the typescript API
|
Actually the fact that trpc ships with the original TypeScript source might be a red herring. It might be something else at play. |
Yeah, this is only a hunch, since I'm still debugging the issue, but I suspect we're just not filtering calls to |
π Search Terms
isolated declarations node_modules
π Version & Regression Information
β― Playground Link
No response
π» Code
π Actual behavior
Error:
π Expected behavior
Type errors only occur in
index.ts
Additional information about the issue
@trpc/server
is packaged with the original source files, e.g.node_modules/@trpc/server/src/core/initTRPC.ts
, rather than declaration files.The text was updated successfully, but these errors were encountered: