const g = global as any ; g . track = { screenview ( screen ) { Lode . ipc . send ( 'track-screenview' , screen ) ; } , event ( category , action , label = null , value = null ) { Lode . ipc . send ( 'track-event' , category , action , label , value ) ; } } as ITracker ;