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
I expect no type errors. To achieve this I have to downgrade to version 2.6
Actual Behavior
> tsc
../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@remix-run/dev/dist/vite/cloudflare-proxy-plugin.d.ts:3:66 - error TS2307: Cannot find module 'wrangler' or its corresponding type declarations.
3 import { type GetPlatformProxyOptions, type PlatformProxy } from "wrangler";
~~~~~~~~~~
../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@remix-run/dev/dist/vite/plugin.d.ts:26:23 - error TS2315: Type 'Plugin_2' is not generic.
26 plugins: readonly Vite.Plugin<any>[];
~~~~~~~~~~~~~~~~
../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@remix-run/dev/dist/vite/plugin.d.ts:37:18 - error TS2724: '/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/index"' has no exported member named 'ResolvedWorkerOptions'. Did you mean 'ResolveWorkerOptions'?
37 worker: Vite.ResolvedWorkerOptions;
~~~~~~~~~~~~~~~~~~~~~
Found 3 errors in 2 files.
Errors Files
1 ../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@remix-run/dev/dist/vite/cloudflare-proxy-plugin.d.ts:3
2 ../../node_modules/.pnpm/@[email protected]_@[email protected][email protected]/node_modules/@remix-run/dev/dist/vite/plugin.d.ts:26
The text was updated successfully, but these errors were encountered:
You should enable skipLibCheck in your tsconfig.json so that type errors originating from dependencies doesn't cause typechecking to fail. See #8594 (comment)
Reproduction
Running a typecheck with Typescript
tsc
I get errors in thenode_modules
folder with the two latest releases, 2.7 and 2.8.I saw the issue with a PR on the Rafiki repository where we're trying to upgrade our dependencies. You can check it out here:
interledger/rafiki#2439
The failing test output is here:
https://github.com/interledger/rafiki/actions/runs/8203165752/job/22435478039?pr=2439
System Info
Used Package Manager
npm
Expected Behavior
I expect no type errors. To achieve this I have to downgrade to version 2.6
Actual Behavior
The text was updated successfully, but these errors were encountered: