I'm using TypeScript 3.7 with @typescript-eslint/parser
and @typescript-eslint/eslint-plugin
for linting.
I'm trying to use optional chaining syntax and it works fine beside optional calls.
const { hj } = window;
hj?.('formSubmitFailed'); // error
this gives me an error: eslint(no-unused-expressions)
any way to make it work with optional calls?