Open markbrockhoff opened 1 month ago
Hi, I noticed that the typecheck for the module template seems to be broken.
Reproduction:
pnpx nuxi init -t module module-name
Add something to the runtime/server directory that imports from "#imports" E.g.:
import { defineEventHandler } from '#imports' export default defineEventHandler((event) => { console.log(event) })
pnpm dev:prepare
pnpm test:types
Result:
Within VS Code everything works as expected and no type errors are shown.
Installed TS version: 5.5.4 Installed vue-tsc version: 2.0.29
Hi, I noticed that the typecheck for the module template seems to be broken.
Reproduction:
pnpx nuxi init -t module module-name
Add something to the runtime/server directory that imports from "#imports" E.g.:
pnpm dev:prepare
to prepare the typespnpm test:types
Result:
Within VS Code everything works as expected and no type errors are shown.
Installed TS version: 5.5.4 Installed vue-tsc version: 2.0.29