mirror of https://github.com/sveltejs/svelte
parent
c6d6a73b9d
commit
583f1a1d17
@ -0,0 +1,25 @@
|
|||||||
|
/* generated by Svelte vX.Y.Z */
|
||||||
|
import { SvelteComponent, init, safe_not_equal } from "svelte/internal";
|
||||||
|
|
||||||
|
function instance($$self) {
|
||||||
|
class A {
|
||||||
|
p1;
|
||||||
|
p2 = 1;
|
||||||
|
#p3 = 2;
|
||||||
|
|
||||||
|
#getP3() {
|
||||||
|
return this.#p3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
|
class Component extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, null, safe_not_equal, {});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Component;
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
<script>
|
||||||
|
class A {
|
||||||
|
p1;
|
||||||
|
p2 = 1;
|
||||||
|
|
||||||
|
#p3 = 2;
|
||||||
|
|
||||||
|
#getP3() {
|
||||||
|
return this.#p3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
Loading…
Reference in new issue