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
Describe the bug
Error in VSCode, but everything is compiled and functional.
The error say: "Module '"/home/scippio/..../src/Test.svelte"' has no default export.ts(1192)"
App.svelte
<script type="text/typescript">
import Test, { getText } from './Test.svelte'
export let name: string = 'world'
console.log(Test)
</script>
<h1>Hello {name}! this is: {getText()}</h1>
<Test></Test>
No problem!
Right now Svelte Beta is the official and actively developed plugin. Just "Svelte" is an old version of it - maybe we will take over that one later on and publish an update. Svelte Typechecker was once ahead of Svelte Beta with typescript support but now Svelte Beta does essentially the same thing, and more.
Long story short: you can uninstall "Svelte" and "Svelte Typechecker" for now. Don't forget to reenable script on Svelte Beta afterwards, if you disabled it.
Describe the bug
Error in VSCode, but everything is compiled and functional.
The error say: "Module '"/home/scippio/..../src/Test.svelte"' has no default export.ts(1192)"
App.svelte
Test.svelte
svelte.config.js
Version: 1.46.0-insider
Commit: 6849775440496504e0677ffcf2a46d47ad9130f5
Date: 2020-05-15T05:29:39.210Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.40-1-lts
The text was updated successfully, but these errors were encountered: