menu
destack:types
import destack:types
Newtypes
FunctionCallable value type, repeatable by default and affine when invoked once.
Newtype interfaces
ThisTypeMarker for contextual object this typing.
Type aliases
AwaitedRecursively unwrap promise-like values.CapitalizeMap each string in S to capitalize its first character.ConstructorParametersExtract the parameter tuple from a constructor type.ExcludeRemove union members of T assignable to U.ExtractKeep union members of T assignable to U.InstanceTypeExtract the instance type from a constructor type.LowercaseMap each string in S to its lowercase form.MutableFieldsMake each field of T mutable.NoInferBlock inference from this use of T.NonNullableRemove null and undefined from T.OmitRemove fields K from T.OmitThisParameterRemove the explicit receiver from a callable type.ParametersExtract the parameter tuple from a callable type.PartialMake each field of T optional.PickKeep fields K from T.PropertyKeyType of valid object property keys.ReadonlyMake T deeply readonly.RecordObject type with keys K and values V.RequiredMake each field of T required.ReturnTypeExtract the return type from a callable type.ThisParameterTypeExtract the explicit receiver from a callable type.UncapitalizeMap each string in S to uncapitalize its first character.UppercaseMap each string in S to its uppercase form.