Re:TIL: `satisfies` is my favorite TypeScript keyword
by samdoesnothing on Sunday November 23, 2025 @01:14AM
(#46021226)
You can encode that "correctly" in pure JS
Generally it's a bad pattern to have dependant fields like your example, but you don't need TS to solve it.
[ Parent
| on HN ]
Re:TIL: `satisfies` is my favorite TypeScript keyword
by rtz121 on Sunday November 23, 2025 @08:04AM
(#46023245)
Thats OOP, we don't do that anymore!!! /s