UNPKG

jedifocus.navigations

Version:
45 lines (40 loc) 1.08 kB
/* __.-._ * '-._"7' JediFocus * /'.-c * | /T Do. Or do not. * _)_/LI There is no try. * * This project is a part of the “Byte-Sized JavaScript” videocasts. * You can watch “Byte-Sized JavaScript” at: https://bytesized.tv/ * * MIT Licensed — See LICENSE.md * * Send your comments, suggestions, and feedback to me@volkan.io */ import type { AppConfig } from 'jedifocus-io-types'; import { Dispatcher } from 'jedifocus-react-types'; declare module 'jedifocus-app-types' { declare type AppProps = { loggedIn: boolean, appStateFetched: boolean, appRandomQuote: string }; declare type AppStateFetchAction = ( config: AppConfig, email: string, password: string, userId: string, context: string ) => (dispatch: Dispatcher) => void; declare type AppContainerProps = { config: AppConfig, email: string, password: string, userId: string, context: string, fetchAppState: AppStateFetchAction, appStateFetched: boolean, appRandomQuote: string, loggedIn: boolean }; }