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

chore: remove unnecessary type assertion #9489

Closed
wants to merge 1 commit into from
Closed

Conversation

jh-leong
Copy link
Member

In this commit, I removed an unnecessary type assertion in the vOn.ts file.

@github-actions
Copy link

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 86.5 kB 32.9 kB 29.7 kB
vue.global.prod.js 132 kB 49.6 kB 44.5 kB

Usages

Name Size Gzip Brotli
createApp 47.9 kB 18.9 kB 17.2 kB
createSSRApp 51.2 kB 20.2 kB 18.4 kB
defineCustomElement 50.3 kB 19.7 kB 17.9 kB
overall 61.3 kB 23.7 kB 21.6 kB

@Alfred-Skyblue
Copy link
Member

In #8978, the @typescript-eslint/eslint-plugin plugin was added for unified processing.

@jh-leong
Copy link
Member Author

In #8978, the @typescript-eslint/eslint-plugin plugin was added for unified processing.

Got it! Using ESLint to avoid these issues is a more effective approach. I'll close this PR now.

@jh-leong jh-leong closed this Oct 27, 2023
@jh-leong jh-leong deleted the patch branch October 27, 2023 06:15
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