Delphi Array Functions In Typescript Compiler