interface: no nullish assignment
Typescript as of 3.7 understands null coalescing (??), but nullish
assignment (??=) is not available until 4.0.
This broke `npm run tsc`, preventing other type errors from showing up.
@@ -284,8 +284,7 @@ class ChatMessage extends Component<ChatMessageProps> {
hideHover
} = this.props;
- let onReply = this.props?.onReply;
- onReply ??= () => {};
+ let onReply = this.props?.onReply ?? (() => {});
const transcluded = this.props?.transcluded ?? 0;
let { renderSigil } = this.props;
