Jacob @ebey.dev · Jul 11

You seem to be asking for all objects to be treated as a Record<any, unknown>. Seems like you'd break any benefits TS brings to the table with doing `?.` if that was the case. Anytime you `?.` you'd be opting out of property existence checks against. This would become valid, and that's no good

0 likes 1 replies

?

Replies

Jacob · Jul 11

Write out a few use-cases and follow them down the rabbit hole. I don't think you'll actually want this.