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
<scriptlang="ts">
importClerkLoadedfrom'clerk-sveltekit/client/ClerkLoaded.svelte';importClerkfrom'@clerk/clerk-js';let clerk:Clerk|null;$: {if (clerk?.user!=null) {// Do something interesting } }
</script>
<ClerkLoadedbind:clerk />
// ^^^^^
// Type 'Clerk | null' is not assignable to type 'never'.
I'm doing this because I want to access clerk from Typescript/Javascript.
The text was updated successfully, but these errors were encountered:
Simple example:
I'm doing this because I want to access
clerk
from Typescript/Javascript.The text was updated successfully, but these errors were encountered: