Closed Treverix closed 3 years ago
Hi! Does the same problem appear in JS file?
No... only on typescript mode... on js, it's all good :)
here's a simple example:
<script lang="ts">
import {writable} from 'svelte/store'
const w = writable(false);
const unsubscribe = w.subscribe((newValue) => console.log('changed to ' + newValue))
unsubscribe();
</script>
<div></div>
I meant outside of Svelte, can you observe same problem in JS file vs TS file?
Ah sorry - got it :) Now it looks like a bug in the IDEA typescript plugin - it happens on normal typescript files also, you just inherit their bug.
I file it on their youtrack.
Ok, thanks for clarification!
I noticed that the plugin sometimes shows different tooltips for the same variable. The tooltip on the first image is probably the correct one.