Typescript Declare Variable With Interface In Java