Typescript Static Method In Js