Php Function Optional Parameter Typescript Compiler Command