Typescript Function Argument With Default Value Of String In Java