You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exported properties and functions should appear on the components type
app.svelte
<scriptlang="ts">
importFoofrom'./foo.svelte';import { onMount } from'svelte';const myFoo!:Foo;onMount(() => {console.log(myFoo.foo); // Property 'foo' does not exist on type 'Foo__SvelteComponent_'.ts(2339)console.log(myFoo.bar); // Property 'bar' does not exist on type 'Foo__SvelteComponent_'.ts(2339)console.log(myFoo.fooBar); // Property 'fooBar' does not exist on type 'Foo__SvelteComponent_'.ts(2339)// But all three outputs the correct results });
</script>
<Foobind:this={myFoo} />
Exported properties and functions should appear on the components type
app.svelte
foo.svelte
The text was updated successfully, but these errors were encountered: