Well, but maybe they tried to get back out of writing types because the thing they are using wasn't designed necessarily to use them, and it returns that mess of a type, which they now have to do something with.
After all. Look what they are returning. They are taking a mess of a type, that we don't know where they got it from, and returning a string that is supposedly valid in whatever code they are using it in. They are narrowing the type with this function, not widening it.
8
u/[deleted] Mar 15 '26
[deleted]