let application ; class Application { public isQuiting : boolean = false ; public isRecording : boolean = false ; public isDownloading : boolean = false ; } if ( ! application ) { application = new Application ( ) ; } export default application ;