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
will generate the following signature: export default function Image__AstroComponent_(_props: Record<string, any>): any {}, instead of the proper one that I'd expect: export default function Image__AstroComponent_(_props: Props): any {}
Link to Minimal Reproducible Example
See description
The text was updated successfully, but these errors were encountered:
What version of
@astrojs/compiler
are you using?^0.31.3
What package manager are you using?
pnpm
What operating system are you using?
macOS
Describe the Bug
As the title says, any interfaces using generic will prevent the proper types from being generated, as such the following component:
will generate the following signature:
export default function Image__AstroComponent_(_props: Record<string, any>): any {}
, instead of the proper one that I'd expect:export default function Image__AstroComponent_(_props: Props): any {}
Link to Minimal Reproducible Example
See description
The text was updated successfully, but these errors were encountered: