supakit
Version:
A Supabase auth helper for SvelteKit.
6 lines (5 loc) • 371 B
TypeScript
/// <reference types="svelte" />
import type { StateChangeCallback } from '../types/index.js';
import type { Writable } from 'svelte/store';
import type { SupabaseClient, Session } from '@supabase/supabase-js';
export declare const supabaseAuthStateChange: (client: SupabaseClient, store?: Writable<Session | null> | null, callback?: StateChangeCallback | null) => void;