Resolves "not all paths return a value" error on compiling with Angular 2.4.10.
When compiling with tsc in dev environment (IDE Typescript 2.2.1) I got a lot of shim-es6 errors for typings. Removing typings for es6 solved this issue.
You may want to check this against your env though, as I am unsure whether this will be fine in every case.
Resolves "not all paths return a value" error on compiling with Angular 2.4.10. When compiling with tsc in dev environment (IDE Typescript 2.2.1) I got a lot of shim-es6 errors for typings. Removing typings for es6 solved this issue.
You may want to check this against your env though, as I am unsure whether this will be fine in every case.