Closed btakita closed 3 years ago
Unresolved function or method set() error when store type is explicitly declared.
Unresolved function or method set()
<script lang="ts"> import { writable } from 'svelte/store' import type { Writable } from 'svelte/store' const name:Writable<string> = writable('') let my_name:string $: name.set(my_name) </script>
Adding node_modules to the Idea Libraries fixed the issue.
node_modules
Libraries
See https://youtrack.jetbrains.com/issue/WEB-49929
Unresolved function or method set()
error when store type is explicitly declared.