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

types(shared): removed the Awaited compatibility type tool #11820

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

Alfred-Skyblue
Copy link
Member

In Vue 3.5, we need to support different types for getters and setters. This feature requires TypeScript version >= 5.1. Therefore, in this PR, we are removing compatibility support for the Awaited type in TypeScript version 4.5.

Copy link

github-actions bot commented Sep 5, 2024

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 100 kB 37.7 kB 33.9 kB
vue.global.prod.js 159 kB 57.6 kB 51.2 kB

Usages

Name Size Gzip Brotli
createApp 55.2 kB 21.2 kB 19.4 kB
createSSRApp 59.1 kB 22.9 kB 20.9 kB
defineCustomElement 59.9 kB 22.8 kB 20.7 kB
overall 68.9 kB 26.3 kB 23.9 kB

Copy link

pkg-pr-new bot commented Sep 5, 2024

Open in Stackblitz

@vue/compiler-core

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

@vue/compiler-sfc

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

@vue/compiler-ssr

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

@vue/reactivity

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

@vue/compiler-dom

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

@vue/runtime-core

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

@vue/runtime-dom

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

@vue/server-renderer

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

@vue/shared

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

@vue/compat

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

vue

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

commit: 73f891b

@edison1105 edison1105 added ready to merge The PR is ready to be merged. scope: types labels Sep 5, 2024
@yyx990803 yyx990803 merged commit c518517 into vuejs:main Sep 5, 2024
13 checks passed
@Alfred-Skyblue Alfred-Skyblue deleted the types/remove_awaited branch September 5, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge The PR is ready to be merged. scope: types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants