export interface IContext { id?: String; name?: String; avatar?: String; extras?: any; }; export interface IFunct { getDeviceInfo?: Function; compass?: Function; stopCompass?: Function; onLocationChange?: Function; stopLocationChange?: Function; readbarCode?: Function; }; let funct: IFunct | any = {}; let context: IContext = {}; export default { funct, context };