E0256: catch variable can only be typed as '*', 'any', or 'unknown'
In TypeScript, a
catch variable can be annotated with either no type,
unknown. It is an error to annotate a
catch variable with a
specific error type:
To fix this error, annotate the
catch variable with the
unknown type, then
instanceof to check the error's type at run time:
Introduced in quick-lint-js version 2.7.0.
Documentation for other errors