Powershell Custom Object Array Typescript Compiler