<!-- BUGS: Please use this template. --> <!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript --> <!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md --> **TypeScript Version:** 2.2.1 **Code** ```ts const b = "foo" in <object> {}; ``` **Expected behavior:** The `in` operator works **Actual behavior:** A compile error is provided: `The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter`