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
{{ message }}
Repository navigation
Autoimport from effect is not typed correctly #2384
Could not find a declaration file for module '../../node_modules/effect/dist/esm/index'.
'/tmp/nitro-app/node_modules/effect/dist/esm/index.js' implicitly has an 'any' type. ts(7016)
Replacing esm in the line to dts fixes the problem, but it is rewritten on every generation.
Additional context
I've tried adding typeFrom: "../../node_modules/effect/dist/dts/index" to the import config as a temporary workaround, but it did not do anything: nitro-imports.d.ts still generates with effect/dist/esm/index.
Activity
[-]Autoimport from `effect` does not type correctly[/-][+]Autoimport from `effect` is not typed correctly[/+]pi0 commentedon Sep 3, 2026
Type gen is being removed from Nitro v3 (#4577)