HY-505 Typescript compilation and linting

Initial PR. TODO add more here.