James Whitney
76fa4b838f
Add support for --noEmitHelpers flag
...
This PR is a Work In Progress that addresses multiple `__extends`
being output as described in #1350 : Multiple `__extends` being output
when `--module amd` is set.
The issue still exists as of `v1.5.0 - f53e6a8`.
Apparently a fix was created for this in #1356 but according to #2009 , a
[comment](https://github.com/Microsoft/TypeScript/issues/2009#issuecomment-74136291 )
later indicated that this was never merged in.
Further conversation continued in #2487 but did not yield any result. I
refer to my earlier recommendation in #1350 .
> My question is this, would the TypeScript team be open to a flag that
> can be passed to tsc that will generate something like the following
> ```ts
> define(["require", "exports", "__extends", './mammal'], function (require, exports, __extends, Mammal) {
> var Human = (function (_super) {
> __extends(Human, _super);
> function Human() {
> _super.apply(this, arguments);
> }
> return Human;
> })(Mammal);
> return Human;
> });
> ```
To continue with the naming convention I have chosen the flag
`--noEmitHelpers`.
2015-04-30 13:23:30 +10:00
..
2015-04-26 18:31:47 -07:00
2015-04-23 12:33:12 -07:00
2015-04-23 12:33:12 -07:00
2015-04-23 12:33:12 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 16:14:04 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-17 18:28:38 -07:00
2015-04-17 18:36:44 -07:00
2015-04-17 18:28:38 -07:00
2015-04-26 18:31:47 -07:00
2015-04-21 11:20:43 -07:00
2015-04-21 12:08:42 -07:00
2015-04-21 11:20:43 -07:00
2015-04-21 11:20:43 -07:00
2015-04-21 12:08:42 -07:00
2015-04-21 11:20:43 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 15:36:07 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-28 17:13:47 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-23 10:44:44 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-26 18:31:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-28 17:13:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 14:07:01 -07:00
2015-04-23 14:23:37 -07:00
2015-04-23 14:23:37 -07:00
2015-04-23 14:38:36 -07:00
2015-04-23 14:38:36 -07:00
2015-04-23 14:38:36 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-22 13:38:30 -07:00
2015-04-22 13:23:52 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-20 20:33:31 -07:00
2015-04-26 18:31:47 -07:00
2015-04-22 13:23:52 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 12:33:12 -07:00
2015-04-23 15:36:07 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-21 17:03:15 -07:00
2015-04-21 17:03:15 -07:00
2015-04-21 17:03:15 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 11:04:44 -07:00
2015-04-30 13:23:30 +10:00
2015-04-30 13:23:30 +10:00
2015-04-30 13:23:30 +10:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 11:04:44 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-28 17:03:39 -07:00
2015-04-27 16:37:36 -07:00
2015-04-28 17:03:39 -07:00
2015-04-27 16:37:36 -07:00
2015-04-28 17:03:39 -07:00
2015-04-27 16:37:36 -07:00
2015-04-28 17:03:39 -07:00
2015-04-27 16:37:36 -07:00
2015-04-28 17:03:39 -07:00
2015-04-27 16:37:36 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-23 15:36:07 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-27 13:46:45 -07:00
2015-04-28 17:03:39 -07:00
2015-04-20 14:17:38 -07:00
2015-04-20 13:40:13 -07:00
2015-04-20 14:17:38 -07:00
2015-04-20 14:17:38 -07:00
2015-04-20 13:40:13 -07:00
2015-04-20 13:40:13 -07:00
2015-04-20 14:17:38 -07:00
2015-04-20 14:17:38 -07:00
2015-04-21 08:41:54 -07:00
2015-04-21 08:41:54 -07:00
2015-04-21 08:41:54 -07:00
2015-04-28 17:03:39 -07:00
2015-04-29 11:43:23 -07:00
2015-04-28 17:03:39 -07:00
2015-04-28 16:18:33 -07:00
2015-04-28 17:03:39 -07:00
2015-04-28 16:18:33 -07:00
2015-04-29 11:43:23 -07:00
2015-04-29 11:43:23 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 11:04:44 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 10:44:44 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 10:44:44 -07:00
2015-04-26 18:31:47 -07:00
2015-04-23 10:44:44 -07:00
2015-04-26 18:31:47 -07:00