0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 09:21:21 +01:00
svelte/.changeset/ten-worms-reflect.md
Simon Holthausen cb4b1f0a18 fix: remove constructor overload
The original intent was for typing generation tools like svelte2tsx to use the virtual constructor instead, but it does more harm than good. Most notably, the TS error message when props are wrong becomes completely useless. It's better for tooling to silence the deprecation message and switch over to a new virtual constructor once we remove the deprecated one.
2023-11-24 14:51:46 +01:00

58 B

svelte
patch

fix: remove constructor overload