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/setup-method/expected.js

35 lines
588 B

/* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, init, noop, run, safe_not_equal } from "svelte/internal";
function create_fragment(component, ctx) {
var current;
return {
c: noop,
m: noop,
p: noop,
i: noop,
o: run,
d: noop
};
}
const SOME_CONSTANT = 42;
function foo(bar) {
console.log(bar);
}
class SvelteComponent extends SvelteComponent_1 {
constructor(options) {
super();
init(this, options, noop, create_fragment, safe_not_equal);
}
get foo() {
return foo;
}
}
export default SvelteComponent;
export { SOME_CONSTANT };