You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the svelte runtime is not using the type information to infer which properties to expose and tbf i don't think we should either as it would be very weird if moving the type to it's own declaration would reintroduce the warning.
So personally I would close this but let's wait what others have to say.
If we were to migrate from acorn-typescript to a parser that analyzes type information across multiple files, we probably could fix that
That might have additional benefits (eg type-informed optimization), but I'm not sure what parsers there are that fit this criteria (other than the typescript package)
Yeah, and at that point it'd seem odd not to implement whole app optimization (#1102) if compilation spanned across multiple files
There's a lot of potential work here, but there's also a lot of potential benefit
Uh oh!
There was an error while loading. Please reload this page.
Perhaps a trigger warning shouldn't be issued for file
B.svelte
.https://stackblitz.com/edit/vitejs-vite-1tpdpcqa?file=src%2FB.svelte
Originally posted by @JetLua in #16003 (comment)
The text was updated successfully, but these errors were encountered: