Samuel
I think typescript should add interrobang chaining you can do obj?.prop for optional chaining you can do obj!.prop to assert a optional property exists you should be able to do obj‽.prop to do optional chaining while pretending you didn't
7 4 84
Samuel
@samuel.fm
no, because if obj is undefined it will error. obj‽prop would be transformed to object?.prop at runtime, but to the type checker would appear as obj!.prop
1 1