Troubleshooting Handbook: Utilities
These are all built in, see source in es5.d.ts:
Awaited: emulate the behavior ofawaitCapitalize: convert first character of string literal type to uppercaseConstructorParameters: a tuple of class constructor's parameter typesExclude: exclude a type from another typeExtract: select a subtype that is assignable to another typeInstanceType: the instance type you get from anewing a class constructorLowercase: convert string literal type to lowercaseNonNullable: excludenullandundefinedfrom a typeOmit: construct a type with the properties of another type.OmitThisParameter: remove the 'this' parameter from a function type.Parameters: a tuple of a function's parameter typesPartial: Make all properties in an object optionalReadonly: Make all properties in an object readonlyReadonlyArray: Make an immutable array of the given typePick: A subtype of an object type with a subset of its keysRecord: A map from a key type to a value typeRequired: Make all properties in an object requiredReturnType: A function's return typeThisParameterType: extract the type of the 'this' parameter of a function typeThisType: marker for contextual 'this' typeUncapitalize: convert first character of string literal type to lowercaseUppercase: convert string literal type to uppercase