News for hackers. Stuff that matters.
Re:TIL: `satisfies` is my favorite TypeScript keyword by bspammer on Sunday November 23, 2025 @04:44AM (#46022087)
For the first one, the compiler should not allow the mutable list to be assigned to a more broadly typed mutable list. This is a compile error in kotlin, for example

    val items: MutableList<Int> = mutableListOf(3)
    val brokenItems: MutableList<Any> = items

There are no comments on this comment yet.