1
0
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:
Griffithtp
2019-06-26 00:10:15 +01:00
parent 7cab3f289e
commit 6eec4f45d9
8 changed files with 17 additions and 15 deletions

View File

@@ -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;