E0309: unexpected '?' when destructuring
In TypeScript, ?
can be used to mark a function parameter as optional. It is a
syntax error to write ?
when destructuring:
To fix this error, remove the ?
:
Introduced in quick-lint-js version 2.10.0.
Find bugs in JavaScript programs.
In TypeScript, ?
can be used to mark a function parameter as optional. It is a
syntax error to write ?
when destructuring:
To fix this error, remove the ?
:
Introduced in quick-lint-js version 2.10.0.