News for hackers. Stuff that matters.
Re:Types as Interfaces by thwarted on Tuesday July 23, 2024 @08:47AM (#41045391)
> you would get back a `Map<String, String | int>` (or, equivalently, `Map<String, String> | Map<String, int>`)

How are these equivalent? Wouldn't the latter result in {foo:1, foo:"two"}, where the former wouldn't?

There are no comments on this comment yet.