This gist contains the minimum set of files I found necessary to reproduce an out of memory exception in Typescript 2.0.3.
On my computer, triggering a save on index.ts
only once was sufficient to make the typescript compiler crash.
Here is the diagnostic on the first run:
> tsc --diagnostics index.ts
Files: 4