129 Commits

Author SHA1 Message Date
Arthur Ozga
18723d938f Merge branch 'vladima/textChanges' into createTypeNode 2017-03-14 16:46:09 -07:00
Arthur Ozga
e381ffaac7 don't add any typenode for signature return type 2017-03-14 16:25:51 -07:00
Vladimir Matveev
d4bb267ee3 add insertNodeInListAfter functionality 2017-03-14 16:13:33 -07:00
Arthur Ozga
2fd3229568 Various fixes
* create type reference node from type parameters
* expose index signature synthesis
* widen types in helpers
* format unions
* use deep cloning
2017-03-14 14:35:23 -07:00
Arthur Ozga
27fe2df203 some missed token bugs 2017-03-13 20:20:26 -07:00
Arthur Ozga
d298f960ab Refactor 2017-03-13 18:09:53 -07:00
Arthur Ozga
20f512cfd2 type parameters and basic object literals 2017-03-13 16:54:29 -07:00
Arthur Ozga
f0b4efe94f type literals, properties only 2017-03-13 09:18:40 -07:00
Arthur Ozga
93cd1dc1ea get name for index info 2017-03-12 18:47:52 -07:00
Arthur Ozga
965d43c6a5 Print new nodes in correct order 2017-03-12 18:35:48 -07:00
Arthur Ozga
03511c0b09 snythesize methods in missing member fix 2017-03-12 16:36:03 -07:00
Arthur Ozga
d6863bea25 missing member fixes use createTypeNode 2017-03-12 12:49:29 -07:00
Arthur Ozga
bf2acf1d2c basic end-to-end building type nodes 2017-03-11 18:58:46 -08:00
Arthur Ozga
fff531ca25 more temp 2017-03-11 15:17:40 -08:00
Vladimir Matveev
d847e6a66a Merge remote-tracking branch 'origin/master' into vladima/textChanges 2017-03-07 15:10:41 -08:00
Andy Hanson
d58cfa238b Merge branch 'master' into lint_better 2017-03-06 06:20:48 -08:00
Vladimir Matveev
d7e62bb9f7 initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer 2017-03-03 13:50:58 -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