ar-test/app/types/auth.ts

6 lines
177 B
TypeScript

export interface LoginFailure {
error: string;
// Wrong email or password: both fields are marked, without saying which one was wrong
invalidCredentials: boolean;
}