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'
Locating this inspection
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
TypeScriptValidateJSTypes- Via Settings dialog
Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.
Availability
- By default bundled with
- Can be installed with plugin
JavaScript and TypeScript, 233.15365.5
Last modified: 18 June 2024