Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add allowDeclareFields for babel ts option #4

Merged
merged 2 commits into from
Aug 8, 2022

Conversation

troy351
Copy link
Contributor

@troy351 troy351 commented Aug 3, 2022

Allow using declare in vue-class-component

@Component
export default class HelloWorld extends Vue {
  // non-reactive
  declare foo: number;
}

related underfin/vite-plugin-vue2#120

@troy351
Copy link
Contributor Author

troy351 commented Aug 3, 2022

@sodatea this is urgent

Copy link
Member

@haoqunjiang haoqunjiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@haoqunjiang haoqunjiang merged commit be3eca0 into vitejs:main Aug 8, 2022
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