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
If someone authors a theme inside a monorepo with a tsconfig.json that includes "declaration": true, the defineTheme function shows a type error
The inferred type of 'default' cannot be named without a reference to './node_modules/astro-theme-provider/dist/internal/types.js'. This is likely not portable. A type annotation is necessary.
If someone authors a theme inside a monorepo with a
tsconfig.json
that includes"declaration": true
, thedefineTheme
function shows a type errorRelated issue: microsoft/TypeScript#47663
Workaround: re-export
AuthorOptions
andUserOptions
need example
The text was updated successfully, but these errors were encountered: