import { Svelte2TsxComponent } from "https://deno.land/x/snel@v0.7.1/core/internals/types.d.ts";
Programmatically sets props on an instance.
component.$set({ x: 1 })
is equivalent to x = 1
inside the component's <script>
block.
Calling this method schedules an update for the next microtask — the DOM is not updated synchronously.