|
|
|
|
|
by npn
1099 days ago
|
|
you clearly don't know what you are talking about. reactive declarations do not change the type of the objects. it just that they can rerun when the dependencies change. sure for the convenience of the users you do not need to type `let vars...` for every new variable declared in the reactive statement, but no one forbid you to write it before hand, or let the language server/plugin do it for you. but Svelte indeed do not work perfectly with typescript, because it allows you to write code inside html template, which currently only support javascript expression. |
|