Php Set Variable To Empty Array Typescript Compiler To Javascript