Skip to main content

Variance and Inference

Controlling Inference

0:00
LearnStep 1/2

Inference Control

The satisfies Operator

Type-check without widening:

typescript

NoInfer (TS 5.4+)

typescript