Mohamed Hegazy

Results 54 comments of Mohamed Hegazy

That is the type that results narrowing the type of `o` to `number`. it becomes `T & number`. which should behave, as i noted in the OP, as `T extends...

I would recommend posting this on https://github.com/angular/angular/issues first.

support of `importHelpers` was added in TS 2.1. you should be able to use any version of `tslib` with any version of TS post TS 2.1. Obviously the behavior you...

I would say this should be done on the TS side of things. the compiler could allow an option for `--importHelpers` specifying the other library name, and it would import...

> The problem with this approach is that we have to copy the whole thing to modify just __extends. Updating our copy when you tweak the helpers is not good...

We have a proposal for __extends in https://github.com/Microsoft/TypeScript/pull/12488 that should work for IE10 as well as newer browsers.

that is the best we could come up with :) trying to keep existing code working as well.

All compiler options are documented in this page: https://github.com/Microsoft/TypeScript/wiki/Compiler%20Options I do no think there is much to say about `--noResolve` other than that:) feel free to send PRs to update...