tried attach a method to window from outside of the class defination like this
(<any>window).refreshUI = function(){ }
where I can see freshUI() now globally but I’m now outside of the detailPage class and I can no longer use any variables/classes within detailpage class