DocumentReady
When you want to use the jQuery Document ready in a TypeScript file you need to use the following format…
//TypeScript Document Ready Example...
//===========================================================
$(() => {
console.log("New version of Document ready");
//Document Ready code goes here…
}); //End of Document Ready ====================================================================