I followed this tutorial to setup typescript+webpack (no react) with success. It all works great until I add index.d.ts file my components folder, which I use to export all
index.d.ts
This is a declaration file. A declaration file has no javascript emit.
instead of adding .d.ts
as a resolvable extension (don't do that!), add the .d.ts
into the compilation context, using something like tsconfig.json
https://alm-tools.gitbooks.io/alm/content/config/tsconfig.html