3 ms·
I'm not sure about "$some.prop = avalue", but props are declared as exports of your component [1], and they can be given types. Perhaps you're refering to "$$pr
by marcus_cemes 5y ago
I'm not sure about "$some.prop = avalue", but props are declared as exports of your component [1], and they can be given types. Perhaps you're refering to "$$props"? The only time I've hacked into the component variables is to check whether slot is set.
[1]: https://svelte.dev/tutorial/declaring-props https://svelte.dev/tutorial/declaring-props