What is the main effect of const cfg = { retry: 3 } satisfies { retry: 0 | 1 | 2 | 3 }?

from Literal types
TypeScript 6 intermediate 3 min

What is the main effect of const cfg = { retry: 3 } satisfies { retry: 0 | 1 | 2 | 3 }?

Report an error