menu

destack:types

import destack:types

Newtypes

  1. FunctionCallable value type, repeatable by default and affine when invoked once.

Newtype interfaces

  1. ThisTypeMarker for contextual object this typing.

Type aliases

  1. AwaitedRecursively unwrap promise-like values.
  2. CapitalizeMap each string in S to capitalize its first character.
  3. ConstructorParametersExtract the parameter tuple from a constructor type.
  4. ExcludeRemove union members of T assignable to U.
  5. ExtractKeep union members of T assignable to U.
  6. InstanceTypeExtract the instance type from a constructor type.
  7. LowercaseMap each string in S to its lowercase form.
  8. MutableFieldsMake each field of T mutable.
  9. NoInferBlock inference from this use of T.
  10. NonNullableRemove null and undefined from T.
  11. OmitRemove fields K from T.
  12. OmitThisParameterRemove the explicit receiver from a callable type.
  13. ParametersExtract the parameter tuple from a callable type.
  14. PartialMake each field of T optional.
  15. PickKeep fields K from T.
  16. PropertyKeyType of valid object property keys.
  17. ReadonlyMake T deeply readonly.
  18. RecordObject type with keys K and values V.
  19. RequiredMake each field of T required.
  20. ReturnTypeExtract the return type from a callable type.
  21. ThisParameterTypeExtract the explicit receiver from a callable type.
  22. UncapitalizeMap each string in S to uncapitalize its first character.
  23. UppercaseMap each string in S to its uppercase form.