From https://github.com/Microsoft/vscode/issues/43930 **TypeScript Version:** 2.8.0.insiders-20180211 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** - this - object literal **Code** For the js: ```js console.log({ a: 1, b() { this } }); ``` Hover over `this` in `b` **Bug** `this` has `any` type `this` is properly typed in cases like: ```js const z = { a: 1, b() { this } } ``` **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> **Related Issues:** - https://github.com/Microsoft/TypeScript/issues/11072