TypeScript · Type Checking
noUnusedParameters
Raise an error when a function parameter isn't read.
Syntax
"noUnusedParameters": trueExample
Example
{
"compilerOptions": {
"noUnusedParameters": true
}
}More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.