throw newError("<${component.tag}>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
thrownewError("<${component.tag}>: Cannot set read-only property '${x.export_name}'");
}
`);
}
}
}elseif(component.compile_options.dev){
}elseif(component.compile_options.dev){
body.push(deindent`
body.push(deindent`
set${x.export_name}(value){
set${x.export_name}(value){
thrownewError("<${component.tag}>: Cannot set read-only property '${x.export_name}'");
thrownewError("<${component.tag}>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
@ -82,6 +82,14 @@ class SvelteComponent extends SvelteComponentDev {
console.warn("<SvelteComponent> was created without expected prop 'name'");
console.warn("<SvelteComponent> was created without expected prop 'name'");
}
}
}
}
getname(){
thrownewError("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
setname(value){
thrownewError("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
@ -180,6 +180,38 @@ class SvelteComponent extends SvelteComponentDev {
console.warn("<SvelteComponent> was created without expected prop 'baz'");
console.warn("<SvelteComponent> was created without expected prop 'baz'");
}
}
}
}
getthings(){
thrownewError("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
setthings(value){
thrownewError("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
getfoo(){
thrownewError("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
setfoo(value){
thrownewError("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
getbar(){
thrownewError("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
setbar(value){
thrownewError("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
getbaz(){
thrownewError("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
setbaz(value){
thrownewError("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
@ -172,6 +172,22 @@ class SvelteComponent extends SvelteComponentDev {
console.warn("<SvelteComponent> was created without expected prop 'foo'");
console.warn("<SvelteComponent> was created without expected prop 'foo'");
}
}
}
}
getthings(){
thrownewError("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
setthings(value){
thrownewError("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
getfoo(){
thrownewError("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
setfoo(value){
thrownewError("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
@ -88,6 +88,14 @@ class SvelteComponent extends SvelteComponentDev {
console.warn("<SvelteComponent> was created without expected prop 'foo'");
console.warn("<SvelteComponent> was created without expected prop 'foo'");
}
}
}
}
getfoo(){
thrownewError("<SvelteComponent>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
}
setfoo(value){
thrownewError("<SvelteComponent>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");