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'