115 Commits

Author SHA1 Message Date
Andy Hanson
2305c10a65 Fix lint errors 2017-03-17 13:54:18 -07:00
Vladimir Matveev
2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Andy Hanson
d58cfa238b Merge branch 'master' into lint_better 2017-03-06 06:20:48 -08:00
Andy Hanson
5f52549047 Merge branch 'master' into semicolon 2017-03-03 06:56:05 -08:00
Arthur Ozga
207b7b0449 Merge branch 'ImplementMissingThis' of github.com:aozgaa/TypeScript into ImplementMissingThis 2017-03-01 10:42:11 -08:00
Andy Hanson
8371eb6401 Update tslint to latest (next is still on 4.3) and lint for BOM 2017-03-01 10:37:13 -08:00
Andy Hanson
5ea43c8ba3 Merge branch 'master' into semicolon 2017-03-01 08:09:59 -08:00
Arthur Ozga
5bcbd7aabc instantiate generic this param correctly 2017-02-28 19:35:15 -08:00
Arthur Ozga
1c25034a18 instantiate generic this param correctly 2017-02-22 16:15:16 -08:00
Arthur Ozga
33fc26cb9c Detect this type for codefix 2017-02-16 17:11:01 -08:00
Arthur Ozga
1b6cf97766 widen type, index signature, and add tests 2017-02-16 13:37:35 -08:00
Arthur Ozga
cf3b4d6b00 cleanup 2017-02-15 15:15:09 -08:00
Arthur Ozga
9110461294 use getBaseTypeOfLiteralType 2017-02-15 14:24:25 -08:00
Arthur Ozga
92e4c6b7db Get Widened Type 2017-02-14 17:30:28 -08:00
Arthur Ozga
9897c69492 wip 2017-02-14 17:30:28 -08:00
Zhengbo Li
1f484a9a03 Merge pull request #13966 from zhengbli/13110
Delete the following new line when removing unused locals
2017-02-14 13:15:17 -08:00
Andy Hanson
91421c8dbc Fix "semicolon" lint rule options (was not enabled) 2017-02-10 12:24:10 -08:00
Mohamed Hegazy
84fc29f900 Fix lint failures detected by tslint@4.4.2 2017-02-09 12:46:09 -08:00
zhengbli
80568c5326 remove the new line after targeted line 2017-02-08 19:11:42 -08:00
Zhengbo Li
df643d8d02 Merge pull request #13405 from zhengbli/13137
Support import fix for missing namespace
2017-02-02 16:11:08 -08:00
zhengbli
62f716aaa6 avoid removing comments when removing unused locals 2017-02-02 13:50:34 -08:00
Zhengbo Li
6c56b3d957 Fix casing in import quick fix 2017-02-02 02:17:49 -08:00
Daniel Rosenwasser
57e224ce3a Merge branch 'master' into fixMissingThis 2017-01-30 12:01:12 -08:00
Andy Hanson
113338c791 Merge branch 'master' into map5 2017-01-12 12:35:00 -08:00
Zhengbo Li
a36db0ea10 Merge pull request #13424 from zhengbli/13129
Change the module specifier search order
2017-01-12 12:06:28 -08:00
Zhengbo Li
c897235364 Change the module specifier search order 2017-01-11 14:30:37 -08:00
Andy Hanson
30462e11ef Merge branch 'master' into map5 2017-01-11 12:24:47 -08:00
Zhengbo Li
aa706d785b Support import fix for missing namespace as well 2017-01-10 17:57:08 -08:00
Zhengbo Li
0c7e4bbb45 Update the message 2017-01-10 17:55:52 -08:00
Zhengbo Li
54f1230760 Change the remove unused local code fix message 2017-01-10 17:52:47 -08:00
Andy Hanson
8c5afd7f54 Merge branch 'master' into map5 2017-01-06 13:03:34 -08:00
Zhengbo Li
b19a949ce4 Support path that specified index 2017-01-04 13:35:42 -08:00
Mohamed Hegazy
524fa64c8d Merge pull request #11547 from Microsoft/interfaceFixes
Codefix for implementing interfaces
2016-12-30 14:28:55 -08:00
Andy Hanson
a67771265d Merge branch 'master' into map5 2016-12-29 09:11:19 -08:00
Zhengbo Li
69e0677ea1 Support quick fixes for UMD global (#12545)
* Support quick fixes for UMD global

* refactor
2016-12-28 15:04:15 -08:00
Andy Hanson
2e6f369e8f Replace SparseArray<T> with T[] 2016-12-28 09:41:45 -08:00
Andy Hanson
f510897dbd Remove "sparseArray" constructor function and just use array literals 2016-12-28 08:58:31 -08:00
Andy Hanson
55552585d0 Add iterators to Map interface, and shim iterators 2016-12-27 12:37:42 -08:00
Andy Hanson
8386d491ab Use sparse arrays for number-keyed maps 2016-12-27 11:17:33 -08:00
Arthur Ozga
97f18c9bf5 Cleanup 2016-12-14 10:28:18 -08:00
Arthur Ozga
d75d548470 implicit any for synthesized signature 2016-12-14 09:24:19 -08:00
Arthur Ozga
8be881916b simplify and inline methods 2016-12-14 09:10:51 -08:00
Arthur Ozga
467381273e refactor fix 2016-12-14 08:41:55 -08:00
Arthur Ozga
3cfac081d5 abstract class expr instantiation and abstract fix works with class expr 2016-12-14 08:40:41 -08:00
Arthur Ozga
469745b181 Synthetic signature uses existing parameter names 2016-12-11 21:50:46 -08:00
Arthur Ozga
b9ae36cfbe Simplify index signature generation 2016-12-09 13:25:58 -08:00
Arthur Ozga
1338b94b2c Simplify rest parameter handling 2016-12-09 10:48:17 -08:00
Arthur Ozga
5e48e339dd cleanup 2016-12-08 18:34:49 -08:00
Arthur Ozga
819a654bb3 Add tests and fix rest parameters 2016-12-08 18:34:35 -08:00
Arthur Ozga
97b3d7a9ef make index signature fix work with generics 2016-12-08 17:19:19 -08:00