What versions & operating system are you using?
Windows WSLv2
System:
OS: Linux 6.6 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (16) x64 AMD Ryzen 7 7840H w/ Radeon 780M Graphics
Memory: 11.42 GB / 15.22 GB
Container: Yes
Shell: 5.8.1 - /usr/bin/zsh
Binaries:
Node: 20.15.0 - /home/shmuli/.nvm/versions/node/v20.15.0/bin/node
npm: 10.9.2 - /home/shmuli/.nvm/versions/node/v20.15.0/bin/npm
pnpm: 10.12.1 - /home/shmuli/.local/share/pnpm/pnpm
bun: 1.1.38 - /home/shmuli/.bun/bin/bun
Please provide a link to a minimal reproduction
i dont have one
Describe the Bug
I recently upgraded wrangler and friends to latest versions and noticed a new type in worker-configuration.d.ts
I have a fairly complex monorepo with types defined and imported all over the place, but this line seems to break my typechecking
interface GlobalProps {
mainModule: typeof import("./src/index");
}
commenting it out fixes my typechecking
Please provide any relevant error logs
No response
What versions & operating system are you using?
Windows WSLv2
System:
OS: Linux 6.6 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (16) x64 AMD Ryzen 7 7840H w/ Radeon 780M Graphics
Memory: 11.42 GB / 15.22 GB
Container: Yes
Shell: 5.8.1 - /usr/bin/zsh
Binaries:
Node: 20.15.0 - /home/shmuli/.nvm/versions/node/v20.15.0/bin/node
npm: 10.9.2 - /home/shmuli/.nvm/versions/node/v20.15.0/bin/npm
pnpm: 10.12.1 - /home/shmuli/.local/share/pnpm/pnpm
bun: 1.1.38 - /home/shmuli/.bun/bin/bun
Please provide a link to a minimal reproduction
i dont have one
Describe the Bug
I recently upgraded wrangler and friends to latest versions and noticed a new type in
worker-configuration.d.tsI have a fairly complex monorepo with types defined and imported all over the place, but this line seems to break my typechecking
commenting it out fixes my typechecking
Please provide any relevant error logs
No response