This will complicate approval of the bang operator by the standards committee.
I suggest considering alternatives, such as the thin arrow -> or dash followed by a dot -. to avoid incompatibility with TypeScript.
The optional-chaining proposal introduces the concept of a symbol followed by a dot (?. in that case), so a symbol followed by a dot approach is likely a safe bet.
The non-null assertion TypeScript operator conflicts with the infix bang operator as demonstrated in the README.
This will complicate approval of the bang operator by the standards committee.
I suggest considering alternatives, such as the thin arrow
->
or dash followed by a dot-.
to avoid incompatibility with TypeScript.The optional-chaining proposal introduces the concept of a symbol followed by a dot (
?.
in that case), so a symbol followed by a dot approach is likely a safe bet.