Delphi Array Functions In Typescript Enum Index