pull/7738/head
Conduitry 6 years ago
parent a38c9de8eb
commit daa7ab664d

@ -0,0 +1,11 @@
<script>
import { writable } from 'svelte/store';
function fake_observable(store) {
return { subscribe: cb => ({ unsubscribe: store.subscribe(cb) }) };
}
let foo = fake_observable(writable(0));
foo = fake_observable(writable(42));
</script>
{$foo}
Loading…
Cancel
Save