Clay Miller
|
d934401265
|
Change the type of 'uriComponent' (passed to 'encodeURIComponent') from 'string' to 'string | number | boolean'. Fixes #18159 (#31103)
- According to the ECMAScript 5.1 spec (§15.1.3.4), 'encodeURIComponent' invokes the abstract operation 'ToString': https://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3.4
- In the spec (§9.8), 'ToString' accepts an 'Undefined', 'Null', 'Boolean', 'Number', 'String' or 'Object' argument: https://www.ecma-international.org/ecma-262/5.1/#sec-9.8
- TypeScript’s 'StringConstructor' accepts an argument with type 'any': b0100100a1/lib/lib.es5.d.ts (L518)
|
2019-04-26 13:07:14 -07:00 |
|
Ron Buckton
|
07bec2893f
|
Adjust offset to account for 'this' parameter when emitting parameter decorators
|
2019-03-19 11:46:18 -07:00 |
|
Ron Buckton
|
6370fc8b85
|
Fix class extends+decorator with new class emit
|
2017-06-13 13:35:53 -07:00 |
|
Ron Buckton
|
00abd7e28b
|
Fix paramtypes metadata emit
|
2016-12-08 17:04:37 -08:00 |
|
Ron Buckton
|
7eca4bc9be
|
Fix decorator emit for accessors
|
2016-12-07 15:48:23 -08:00 |
|
Kanchalai Tanglertsampan
|
b5f4c074d6
|
Merge branch 'master' into mergeMaster_09/01
|
2016-09-01 16:19:44 -07:00 |
|
Yui
|
153666f908
|
Add tests for export incorrectly emit twice for decorated class declaration (#8343) (#10651)
* Add tests and update baselines
* Update baselines
|
2016-09-01 13:58:09 -07:00 |
|
Daniel Rosenwasser
|
c21d16a3bb
|
Added test for decorators.
|
2016-08-23 11:14:05 -07:00 |
|
Ron Buckton
|
ed0a653515
|
Merge branch 'master' into transforms
|
2016-08-02 11:45:56 -07:00 |
|
Yui
|
9886f88004
|
[Release-2.0] Fix 9685: missing decoratedClassAlias emit in self-reference decorated class (#9763)
* Wip
* Fix incorrect emit decorated class alias when targeting es6 or higher
* Add tests and baselines
* Remove unused test file
|
2016-07-18 08:48:12 -07:00 |
|
Yui
|
695d92fe23
|
[Transforms] Remove the assertion as the assumption is not correct (#8341)
* Remove the assertion as the assumption is not correct
* Add tests case and baselines
|
2016-05-02 15:24:19 -07:00 |
|
Daniel Rosenwasser
|
73de79c68c
|
Added positive test case suggested in #6129.
|
2015-12-21 13:42:24 -08:00 |
|
Tim Perry
|
411e90df44
|
Improve decorator on overload error message (fixes #6064)
|
2015-12-17 11:56:02 +01:00 |
|
Ron Buckton
|
5915fbd292
|
Adds minimal support for 'this' types in decorator metadata, emitting 'Object' for now.
|
2015-11-19 09:53:32 -08:00 |
|
Ron Buckton
|
0fa89ad99c
|
Fixes #5104.
|
2015-10-12 17:38:55 -07:00 |
|
Ron Buckton
|
b620cace92
|
Fixes an issue when resolving a type name as an expression when emitting type metadata for decorators
|
2015-07-16 15:13:31 -07:00 |
|
Ron Buckton
|
071ef34e49
|
Merged branch 'master' into resolveDecoratorAsCall
|
2015-06-23 15:26:34 -07:00 |
|
Ron Buckton
|
62ba36908b
|
Added experimentalDecorators flag
|
2015-06-01 15:01:24 -07:00 |
|
Ron Buckton
|
ac447f1f51
|
Migrated decorator checks to call resolution
|
2015-05-21 16:45:23 -07:00 |
|
Ron Buckton
|
e76f920e75
|
Added tests
|
2015-05-20 10:23:25 -07:00 |
|
Ron Buckton
|
4b031ea76e
|
Added tests
|
2015-05-19 22:07:45 -07:00 |
|
Ron Buckton
|
e08e1f145b
|
Added tests for 1.0 lib and missing decorator type
|
2015-04-23 16:18:20 -07:00 |
|
Ron Buckton
|
ed644ddaa1
|
Added tests for 1.0 lib and missing decorator type
|
2015-04-23 12:33:12 -07:00 |
|
Ron Buckton
|
cd6bfb169f
|
Fix for __decorate emit on undecorated file following a decorated file
|
2015-04-10 15:38:10 -07:00 |
|
Daniel Rosenwasser
|
63bb38157b
|
Ragga fragga newlines.
|
2015-04-09 17:00:22 -07:00 |
|
Ron Buckton
|
3702568916
|
Fix for #2619
|
2015-04-08 15:27:41 -07:00 |
|
Ron Buckton
|
e9911a5e17
|
Tests and baselines
|
2015-04-07 17:43:10 -07:00 |
|
Ron Buckton
|
f531193557
|
Updates to emit and updated baselines
|
2015-03-24 17:00:29 -07:00 |
|
Ron Buckton
|
0fb624a58b
|
PR feedback
|
2015-03-19 22:57:03 -07:00 |
|
Ron Buckton
|
f909c6c9f7
|
Updated baselines
|
2015-03-17 14:21:13 -07:00 |
|