-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
Description
Provide environment information
src/middleware/jwt/index.ts:11:14 - error TS2742: The inferred type of 'jwtMiddleware' cannot be named without a reference to '../../../node_modules/@trpc/server/dist/unstable-core-do-not-import.d-1RewV6pM.mjs'. This is likely not portable. A type annotation is necessary.
Describe the bug
Hi there,
I encountered an issue when I removed the baseUrl configuration. After removing baseUrl, I get the following TypeScript error
It seems like the issue is related to unstable-core-do-not-import. I am currently using tsgolint for linting, and tsgo no longer supports baseUrl, which might be the root cause of this issue.
Steps to reproduce:
Remove the baseUrl configuration from tsconfig.json.
Link to reproduction
none
To reproduce
remove tsconfig baseUrl
Additional information
No response
π¨βπ§βπ¦ Contributing
- πββοΈ Yes, I'd be down to file a PR fixing this bug!