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:
ERROR in [at-loader] ./node_modules/rewiremock/rewiremock.d.ts:122:66
TS2536: Type '"default"' cannot be used to index type 'Ts'.
Interestingly, when I compile with tsc, I do not get this error.