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(types): expose PublicProps type #2403

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

pikax
Copy link
Member

@pikax pikax commented Oct 17, 2020

PublicProps type is useful for extracting all the DefineComponent types for example on vue-test-utils-next https://github.com/vuejs/vue-test-utils-next/pull/224/files#diff-10dced802c6852b5a362ffd5970356d2be22d555549040e3533bea567bdc878cR43

# Conflicts:
#	packages/runtime-core/src/index.ts
@github-actions
Copy link

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 85.9 kB 32.7 kB 29.5 kB
vue.global.prod.js 132 kB 49.4 kB 44.3 kB

Usages

Name Size Gzip Brotli
createApp 47.9 kB 18.9 kB 17.2 kB
createSSRApp 50.7 kB 20 kB 18.2 kB
defineCustomElement 50.3 kB 19.7 kB 18 kB
overall 61.3 kB 23.7 kB 21.6 kB

@pikax pikax added the 🧹 p1-chore Priority 1: this doesn't change code behavior. label Oct 21, 2023
@yyx990803 yyx990803 changed the base branch from main to minor October 23, 2023 08:06
@yyx990803 yyx990803 changed the base branch from minor to main October 23, 2023 08:07
@yyx990803 yyx990803 changed the title types: expose PublicProps type feat(types): expose PublicProps type Oct 23, 2023
@yyx990803 yyx990803 changed the base branch from main to minor December 8, 2023 14:17
@yyx990803 yyx990803 merged commit 44135dc into vuejs:minor Dec 8, 2023
11 checks passed
@pikax pikax deleted the types/expose_public_props branch December 21, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹 p1-chore Priority 1: this doesn't change code behavior. ready to merge The PR is ready to be merged. scope: types version: minor
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants