pull/8136/head
Simon H 3 years ago committed by GitHub
parent cda63cfd2e
commit 5c150827e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,7 @@ import { onMount } from '$runtime/index';
// sync and no return // sync and no return
onMount(() => { onMount(() => {
console.log("mounted"); console.log('mounted');
}); });
// sync and return value // sync and return value
@ -13,7 +13,7 @@ onMount(() => {
// sync and return sync // sync and return sync
onMount(() => { onMount(() => {
return () => { return () => {
return "done"; return 'done';
}; };
}); });
@ -39,7 +39,7 @@ onMount(async () => {
// @ts-expect-error async and return sync // @ts-expect-error async and return sync
onMount(async () => { onMount(async () => {
return () => { return () => {
return "done"; return 'done';
}; };
}); });

Loading…
Cancel
Save