Typescript Class Implement Interface Java