Php Array Spread Operator In Typescript