import { Settings , ControllerConstructor } from './type' ; export const isClient = typeof window !== 'undefined' ; export const isServer = ! isClient ; const defaultAppSettings = { container : '#container' , basename : '' , context : { isServer , isClient } , type : 'createHashHistory' , loader : ( value ) => value as ControllerConstructor } ; export default defaultAppSettings ;