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
defineUnlightouseConfig() is typed as any, and provides zero autocompletion for the options object.
Trying to manually navigate to the unlighthouse types leads to types.d.ts
importtype{DefineUnlighthouseConfig}from'unlighthouse/config'export*from'./dist/index'declare global {constdefineUnlighthouseConfig: DefineUnlighthouseConfig}
that seems to import the type from a nonexistent location:
Reproduction
No response
System / Nuxt Info
The text was updated successfully, but these errors were encountered:
The magic tricks with declare global and importing types with a comment are still wonky at best, result in an any and no autocomplete. There is no error from the screenshot, though.
Describe the bug
defineUnlightouseConfig()
is typed asany
, and provides zero autocompletion for the options object.Trying to manually navigate to the
unlighthouse
types leads totypes.d.ts
that seems to import the type from a nonexistent location:
Reproduction
No response
System / Nuxt Info
The text was updated successfully, but these errors were encountered: