svelte-type-checker-vscode
svelte-type-checker-vscode copied to clipboard
#await :then support
#await then doesn't seem to be supported
Example code:
{#await foo()}
.....
{:then}
async function completed successfully!
{:catch err}
async function failed:(
{/await}
{:then} will be showed with an error, but it shouldn't as far as i know
let _$$p: Promise<void> ',' expected.svelte-type-checker(1005)
Thanks for the report!. It certainly should work, so there is a problem with the transform I am using. I'll see what I can do
On Wed, 6 May 2020, 1:59 am Zerowalker, [email protected] wrote:
#await then doesn't seem to be supported
Example code:
{#await foo()} ..... {:then} async function completed successfully! {:catch err} async function failed:( {/await}
{:then} will be showed with an error, but it shouldn't as far as i know
let _$$p: Promise
',' expected.svelte-type-checker(1005) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/halfnelson/svelte-type-checker-vscode/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEGS5FX6CFJJOHZG53HZLTRQAZVBANCNFSM4MZWIKTQ .