{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/27043","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/27043/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/27043/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/27043/events","html_url":"https://github.com/Microsoft/TypeScript/issues/27043","id":359276130,"node_id":"MDU6SXNzdWUzNTkyNzYxMzA=","number":27043,"title":"Everything is callable with `--noLib`","user":{"login":"andy-ms","id":19274678,"node_id":"MDQ6VXNlcjE5Mjc0Njc4","avatar_url":"https://avatars3.githubusercontent.com/u/19274678?v=4","gravatar_id":"","url":"https://api.github.com/users/andy-ms","html_url":"https://github.com/andy-ms","followers_url":"https://api.github.com/users/andy-ms/followers","following_url":"https://api.github.com/users/andy-ms/following{/other_user}","gists_url":"https://api.github.com/users/andy-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-ms/subscriptions","organizations_url":"https://api.github.com/users/andy-ms/orgs","repos_url":"https://api.github.com/users/andy-ms/repos","events_url":"https://api.github.com/users/andy-ms/events{/privacy}","received_events_url":"https://api.github.com/users/andy-ms/received_events","type":"User","site_admin":false},"labels":[{"id":113970366,"node_id":"MDU6TGFiZWwxMTM5NzAzNjY=","url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-12T00:56:57Z","updated_at":"2018-09-12T00:56:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**TypeScript Version:**  3.1.0-dev.20180907\r\n\r\n**Code**\r\n\r\n```ts\r\ninterface Array<T> {}\r\ninterface Boolean {}\r\ninterface Function {}\r\ninterface IArguments {}\r\ninterface Number {}\r\ninterface Object {}\r\ninterface RegExp {}\r\ninterface String {}\r\n\r\n0(1);\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nError at `0(1)`.\r\n\r\n**Actual behavior:**\r\n\r\nNo error. The error reappears if any properties are added to `Function`, so there's probably some code that assumes that anything assignable to `Function` is callable with `...args: any[]` -- and if there's nothing in `Function`, everything is assignable to it..."}}
{"actor":{"display_login":"andy-ms"}}