RequiredDeep
silently erases types past a depth of 3 as a side-effect
#677
Labels
bug
Something isn't working
See this issue, specifically this comment.
Using a recursively mapped type like
RequiredDeep
comes with a side effect: even though VS Code seems to resolve the type, the type-checker ignores anything past a depth of 3.Note that it's quite difficult to identify that type-checking is not happening at all, since there's still no indication by looking at the types that they don't actually check anything.
Users are almost certainly unaware that by using recursively mapped types like
RequiredDeep
, they are effectively turning off the type checker.Upvote & Fund
The text was updated successfully, but these errors were encountered: