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
const metadata: AbbreviatedMetadata = await packageJson('react')
metadata.versions // actually undefined, but has type Readonly<Record<string, AbbreviatedVersion>>
metadata.version // actually a string, but has type unknown
It seems strange that the types are broken out-of-the-box. Am I doing something wrong here?
The text was updated successfully, but these errors were encountered:
To reproduce
It seems strange that the types are broken out-of-the-box. Am I doing something wrong here?
The text was updated successfully, but these errors were encountered: