mirror of
https://github.com/SomboChea/ui
synced 2026-01-17 08:35:47 +07:00
fix: @typescript-eslint/no-explicit-any
This commit is contained in:
@@ -20,10 +20,12 @@ export const AppContext = React.createContext<{}>({});
|
||||
export const AppContextProvider = AppContext.Provider;
|
||||
export const AppContextConsumer = AppContext.Consumer;
|
||||
|
||||
interface AppStateInterface {
|
||||
export interface AppStateInterface {
|
||||
error?: FormError;
|
||||
logoUrl: string;
|
||||
user: {};
|
||||
user: {
|
||||
username?: string;
|
||||
};
|
||||
scope: string;
|
||||
showLoginModal: boolean;
|
||||
isUserLoggedIn: boolean;
|
||||
|
||||
Reference in New Issue
Block a user