convert to TS
This commit is contained in:
@@ -21,6 +21,7 @@ export interface User {
|
||||
|
||||
export interface AuthContextType {
|
||||
user: User | null;
|
||||
loading: boolean;
|
||||
update: () => void;
|
||||
login: (email: string, password: string) => Promise<{ status: number }>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user