Create a higher-kinded type that nests a pair of given higher-kinded
types. Nests the given type lambdas with the first as the outer layer,
and the the second as the inner one. The kind of a nested type lambda
is the nesting of the kinds of the given type lambdas. For example:
Example
// A type lambda for the higher-kinded type `Option<ReadonlyArray>`: exporttypeOptionArrayLambda = NestTypeLambda< OptionTypeLambda, ReadonlyArrayTypeLambda > // Applying the new type lambda to the type `number`: exporttypeNumericOptionArray = Kind< OptionArrayLambda, never, unknown, unknown, number > // NumericOptionArray ≡ Option<ReadonlyArray<number>>
Create a higher-kinded type that nests a pair of given higher-kinded types. Nests the given type lambdas with the first as the outer layer, and the the second as the inner one. The kind of a nested type lambda is the nesting of the kinds of the given type lambdas. For example:
Example