I have an application which has different pages and roughly every page has it's own js (which are generated by typescript compiler). document.ready method for every page has some shared attributes and I'm looking to put the shared functions / properties into a base typescript class.
So it should look like
class PageX extends BasePage
{
onLoad => which should act like document.ready
}
can this be done? I'm not sure if it's possible?