Rewritten some parts of redux store to use typescript interfaces

This commit is contained in:
unknown
2021-05-11 16:44:05 +02:00
parent 78acede8ab
commit d3c5e2a5ec
10 changed files with 89 additions and 45 deletions

View File

@@ -5,4 +5,9 @@ export interface App {
icon: string;
createdAt: Date;
updatedAt: Date;
}
export interface AppResponse {
success: boolean;
data: App[]
}

View File

@@ -0,0 +1,7 @@
import { State as AppState } from '../store/reducers/app';
import { State as ThemeState } from '../store/reducers/theme';
export interface GlobalState {
theme: ThemeState;
app: AppState;
}

View File

@@ -1,2 +1,3 @@
export * from './App';
export * from './Theme';
export * from './Theme';
export * from './GlobalState';