13 lines
No EOL
212 B
TypeScript
13 lines
No EOL
212 B
TypeScript
import { writable } from 'svelte/store';
|
|
|
|
interface UserRecord {
|
|
username: string;
|
|
email: string;
|
|
password: string;
|
|
}
|
|
|
|
interface User {
|
|
record: UserRecord;
|
|
}
|
|
|
|
export const user = writable<User>(); |