8 lines
373 B
TypeScript
8 lines
373 B
TypeScript
import AsyncStorage from '@react-native-async-storage/async-storage';
|
|
|
|
// supabase-js v2 accepts any object with async getItem / setItem /
|
|
// removeItem returning Promise<string | null> / Promise<void>. RN's
|
|
// AsyncStorage matches that shape for shape; we just re-export it
|
|
// under a name that signals intent at the call site.
|
|
export const sessionStorage = AsyncStorage;
|