Typescript Utilities