Inspectopedia Help

Type mismatch in 'any' type

Reports a function call with a parameter, return value, or assigned expression or incorrect type, if the context symbol can be implicitly resolved to the any type. declare var test: any; test.hasOwnProperty(true); //reports 'true'

Inspection Details

By default bundled with:

JetBrains Rider 2023.3, Qodana for .NET 2023.3,

Can be installed with plugin:

JavaScript and TypeScript, 233.14390.168

Last modified: 29 April 2024