{"action":"opened","issue":{"url":"https://api.github.com/repos/theKashey/rewiremock/issues/43","repository_url":"https://api.github.com/repos/theKashey/rewiremock","labels_url":"https://api.github.com/repos/theKashey/rewiremock/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/theKashey/rewiremock/issues/43/comments","events_url":"https://api.github.com/repos/theKashey/rewiremock/issues/43/events","html_url":"https://github.com/theKashey/rewiremock/issues/43","id":365004520,"node_id":"MDU6SXNzdWUzNjUwMDQ1MjA=","number":43,"title":"TS2536: Type '\"default\"' cannot be used to index type 'Ts'. After upgrading to TS 3.1.1","user":{"login":"mpsijm","id":9739541,"node_id":"MDQ6VXNlcjk3Mzk1NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/9739541?v=4","gravatar_id":"","url":"https://api.github.com/users/mpsijm","html_url":"https://github.com/mpsijm","followers_url":"https://api.github.com/users/mpsijm/followers","following_url":"https://api.github.com/users/mpsijm/following{/other_user}","gists_url":"https://api.github.com/users/mpsijm/gists{/gist_id}","starred_url":"https://api.github.com/users/mpsijm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpsijm/subscriptions","organizations_url":"https://api.github.com/users/mpsijm/orgs","repos_url":"https://api.github.com/users/mpsijm/repos","events_url":"https://api.github.com/users/mpsijm/events{/privacy}","received_events_url":"https://api.github.com/users/mpsijm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-28T19:00:21Z","updated_at":"2018-09-28T19:00:21Z","closed_at":null,"author_association":"NONE","body":"I just tried upgrading my TypeScript app from TS 3.0.1 to 3.1.1. When compiling it with `webpack`, having `rewiremock` as one of our (dev-)dependencies, compilation breaks at this point:\r\n\r\n```\r\n    ERROR in [at-loader] ./node_modules/rewiremock/rewiremock.d.ts:122:66 \r\n        TS2536: Type '\"default\"' cannot be used to index type 'Ts'.\r\n```\r\n\r\nInterestingly, when I compile with `tsc`, I do not get this error."}}
{"actor":{"display_login":"mpsijm"}}