1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-03 01:45:17 +02:00

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