baby-tracker/src/lib/userStore.ts

13 lines
212 B
TypeScript
Raw Normal View History

2024-01-24 11:46:09 +00:00
import { writable } from 'svelte/store';
interface UserRecord {
username: string;
email: string;
password: string;
}
interface User {
record: UserRecord;
}
export const user = writable<User>();