Typescript Create Class In Javascript Syntax Checker