You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/js/samples/component-store-file-invali.../expected.js

34 lines
660 B

/* generated by Svelte vX.Y.Z */
import {
SvelteComponent,
component_subscribe,
init,
safe_not_equal,
set_store_value
} from "svelte/internal";
import { count } from './store.js';
function instance($$self, $$props, $$invalidate) {
let $count;
component_subscribe($$self, count, $$value => $$invalidate(1, $count = $$value));
function increment() {
set_store_value(count, $count++, $count);
}
return [increment];
}
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, null, safe_not_equal, { increment: 0 });
}
get increment() {
return this.$$.ctx[0];
}
}
export default Component;