E0315: (name) is not the name of a parameter
After a function's parameter list, you can write a TypeScript type predicate
(using is
) instead of a return type. It is an error for the type predicate to
refer to a variable which is not a parameter:
To fix this error, fix the typo in the parameter name:
Alternatively, flip the parameter name with the type:
Introduced in quick-lint-js version 2.10.0.