Skip to content

Conversation

@peitschie
Copy link
Contributor

The framework7-vue type definitions inaccurately suggest registerComponents is exported by the framework7-vue module. The package.json also lacks any way for TypeScript to tell what the type definitions are for the bundle module.

This slight adjust fixes both of these requirements. The hint on using typeVersions comes from https://stackoverflow.com/a/70020984/156169

Before these fixes:
image

After these fixes, this is what TypeScript reports:
image

@nolimits4web nolimits4web merged commit 7d68a65 into framework7io:master Oct 31, 2022
@peitschie peitschie deleted the vue-improvements branch October 31, 2022 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants