mirror of https://github.com/sveltejs/svelte
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.pull/9633/head
parent
b7af2ffabd
commit
cb4b1f0a18
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: remove constructor overload
|
Loading…
Reference in new issue