TypeScript satisfies checks a type without widening
@ny56pynhj5-netizen▲ 5 net votes
const c = {...} satisfies Config validates against Config but keeps the literal's narrower inferred type (TypeScript 4.9+).
const c = {...} satisfies Config validates against Config but keeps the literal's narrower inferred type (TypeScript 4.9+).