{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/24622","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/24622/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/24622/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/24622/events","html_url":"https://github.com/Microsoft/TypeScript/issues/24622","id":328737641,"node_id":"MDU6SXNzdWUzMjg3Mzc2NDE=","number":24622,"title":"keyof does not include well known symbols","user":{"login":"mgroenhoff","id":22659163,"node_id":"MDQ6VXNlcjIyNjU5MTYz","avatar_url":"https://avatars0.githubusercontent.com/u/22659163?v=4","gravatar_id":"","url":"https://api.github.com/users/mgroenhoff","html_url":"https://github.com/mgroenhoff","followers_url":"https://api.github.com/users/mgroenhoff/followers","following_url":"https://api.github.com/users/mgroenhoff/following{/other_user}","gists_url":"https://api.github.com/users/mgroenhoff/gists{/gist_id}","starred_url":"https://api.github.com/users/mgroenhoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgroenhoff/subscriptions","organizations_url":"https://api.github.com/users/mgroenhoff/orgs","repos_url":"https://api.github.com/users/mgroenhoff/repos","events_url":"https://api.github.com/users/mgroenhoff/events{/privacy}","received_events_url":"https://api.github.com/users/mgroenhoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-02T11:46:10Z","updated_at":"2018-06-02T11:46:10Z","closed_at":null,"author_association":"NONE","body":"**TypeScript Version:**  2.9.1\r\n\r\n**Search Terms:** \r\nkeyof well known symbol\r\n\r\n**Code**\r\n\r\n```ts\r\nconst s = Symbol(\"s\");\r\n\r\ninterface I {\r\n    n: number;\r\n    [s]: string;\r\n    [Symbol.iterator](): IterableIterator<[string, string]>;\r\n}\r\n\r\ntype K = keyof I;\r\ntype T = I[K];\r\n```\r\n\r\n**Expected behavior:**\r\n```ts\r\ntype K = keyof I; // type K = typeof s | \"n\" | typeof Symbol.iterator\r\ntype T = I[K]; // type T = string | number | () => IterableIterator<[string, string]>\r\n```\r\n\r\n**Actual behavior:**\r\n```ts\r\ntype K = keyof I; // type K = typeof s | \"n\"\r\ntype T = I[K]; // type T = string | number\r\n```"}}
{"actor":{"display_login":"mgroenhoff"}}