Closed elizeuangelo closed 2 days ago
We need to detect this and either handle it while stripping types or error and require devs to use a TS preprocessor. Since this doesn't require anything besides removing types we should be able to do the former
Describe the bug
When I have a component which includes function overloading (inside
<script module>
):Everything seens fine on the IDE but I still get this weird Rollup Error when running Vite or on the Playground:
Reproduction
https://svelte.dev/playground/721e958b91b744a192d9557d007fd316?version=5.2.9
Logs
No response
System Info
Severity
annoyance