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

fix(type): fix nullabe props not getting undefined union #12103

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

devTeaa
Copy link

@devTeaa devTeaa commented Oct 3, 2024

close #12098

The original implementation didn't carry over the union type

@edison1105 edison1105 added ready to merge The PR is ready to be merged. scope: types labels Oct 3, 2024
@devTeaa
Copy link
Author

devTeaa commented Oct 6, 2024

Can this be merged @edison1105 ?

Copy link

pkg-pr-new bot commented Oct 11, 2024

Open in Stackblitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@12103

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@12103

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@12103

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@12103

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@12103

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@12103

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@12103

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@12103

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@12103

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@12103

vue

pnpm add https://pkg.pr.new/vue@12103

commit: 4728d1b

Copy link

github-actions bot commented Oct 11, 2024

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 101 kB 38.1 kB 34.3 kB
vue.global.prod.js 160 kB 58.1 kB 51.6 kB

Usages

Name Size Gzip Brotli
createApp (CAPI only) 49.2 kB 19 kB 17.3 kB
createApp 55.8 kB 21.5 kB 19.6 kB
createSSRApp 59.8 kB 23.2 kB 21.1 kB
defineCustomElement 60.6 kB 23.1 kB 21 kB
overall 69.5 kB 26.6 kB 24.2 kB

@yyx990803 yyx990803 removed the ready to merge The PR is ready to be merged. label Oct 11, 2024
@yyx990803
Copy link
Member

Looks like the type tests are not passing. We also need a test case dedicated for what this intends to fix.

@devTeaa
Copy link
Author

devTeaa commented Oct 11, 2024

updated @yyx990803 , @edison1105

@devTeaa devTeaa changed the title Fix nullabe props not getting undefined union fix(type): fix nullabe props not getting undefined union Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nullable boolean props not getting undefined union
3 participants