Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: augmentvue rather than@vue/runtime-core#1084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
danielroe wants to merge1 commit intonativescript-vue:main
base:main
Choose a base branch
Loading
fromdanielroe:vue-augment

Conversation

danielroe
Copy link

For a while, in the Vue ecosystem we've been augmenting@vue/runtime-core to add custom properties and more tovue. However, this inadvertently breaks the types for projects that augmentvue - which is (now?) the officially recommended in the docs way to augment these interfaces (for example,ComponentCustomProperties,GlobalComponents andso on).

This meansall libraries must update their code (or it will break the types of the libraries that augmentvue instead).

Here's an example of how the augmented types end up broken.

This PR is a small effort to ensure the ecosystem is consistent. For context, you can see thatvue-router hasmoved to do this, as well asNuxt.

vallemar, PixsaOJ, and HamoBoker reacted with thumbs up emojirigor789 reacted with eyes emoji
@PixsaOJ
Copy link

Will this provide IntelliSense on Things likeStackLayout ?

@danielroe
Copy link
Author

Yes, it should resolve that issue, as long as any other libraries users are using are also updated.

PixsaOJ reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@danielroe@PixsaOJ

[8]ページ先頭

©2009-2025 Movatter.jp