reducers typescripting

This commit is contained in:
muerwre 2019-02-12 12:26:04 +07:00
parent 4c6526efc9
commit 85b8860862
15 changed files with 496 additions and 316 deletions

21
src/constants/dialogs.ts Normal file
View file

@ -0,0 +1,21 @@
export interface IDialogs {
NONE: string,
MAP_LIST: string,
APP_INFO: string,
}
export interface IMapTabs {
mine: string,
all: string,
}
export const DIALOGS: IDialogs = ({
NONE: 'NONE',
MAP_LIST: 'MAP_LIST',
APP_INFO: 'APP_INFO',
});
export const TABS: IMapTabs = ({
mine: 'Мои',
all: 'Общие',
});