Commit Graph

18699 Commits

Author SHA1 Message Date
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
Erik McClenney
f9356b960f Allow export default abstract class. Related to issue 3792. 2017-03-14 13:10:07 -07:00
Kanchalai Tanglertsampan
be375cb786 Fix missing import call expression in function and class declaration 2017-03-14 12:26:20 -07:00
Yui T
ffbb445148 wip-Emit import call expression for commonjs 2017-03-14 10:31:30 -07:00
Yui T
369af08e27 Change filename to indicate it uses module kind of es2018 2017-03-14 10:29:55 -07:00
Yui T
20293b0ece Fix up error when we can't find promise type in import call expression 2017-03-14 09:57:05 -07:00
Mohamed Hegazy
1fbbeadaf7 Merge pull request #14568 from Microsoft/checkJSFiles_QuickFixes
Allow skipping diagnostics in .js file using comments and quick fixes to add them
2017-03-13 23:04:53 -07:00
Mohamed Hegazy
509b2dc18e Add disableJsDiagnostics codefixes to harnes 2017-03-13 23:03:06 -07:00
Mohamed Hegazy
fd9fb8f9bc Support static properties 2017-03-13 22:50:21 -07:00
Mohamed Hegazy
6e86596a73 Add debugging utilities 2017-03-13 22:43:37 -07:00
Mohamed Hegazy
cc6affad27 Merge remote-tracking branch 'origin/updateCodeFixForAddMissingMember' into checkJSFiles_QuickFixes 2017-03-13 22:41:22 -07:00
Arthur Ozga
27fe2df203 some missed token bugs 2017-03-13 20:20:26 -07:00
cedvdb
8cac5285b9 added keys, values, `forEach, entries` to nodelist 2017-03-14 04:15:32 +01:00
Arthur Ozga
e02ac178ca Merge branch 'master' into createTypeNode 2017-03-13 18:12:29 -07:00
Arthur Ozga
059f5b706b Merge branch 'vladima/textChanges' into createTypeNode 2017-03-13 18:12:17 -07:00
Arthur Ozga
d298f960ab Refactor 2017-03-13 18:09:53 -07:00
Kanchalai Tanglertsampan
26f9a52e92 Add initial tests 2017-03-13 17:07:13 -07:00
cedvdb
875328c123 removed white space 2017-03-14 00:55:41 +01:00
Arthur Ozga
20f512cfd2 type parameters and basic object literals 2017-03-13 16:54:29 -07:00
cedvdb
5f37d32dbf added keys, entries, values, forEach on NodeListOf 2017-03-14 00:52:47 +01:00
Arthur Ozga
1b14ed4d0e update visitor/factory 2017-03-13 16:51:43 -07:00
Mohamed Hegazy
ea57fbc59f Merge pull request #14639 from falsandtru/lib.d.ts/overload
Convert overloads to unions
2017-03-13 16:33:42 -07:00
Zhengbo Li
c07fb70188 Merge pull request #14633 from zhengbli/fixNodeArray
Fix assigning positions to node array
2017-03-13 16:11:50 -07:00
cedvdb
8aa7e224aa added entries foreach values and keys 2017-03-14 00:08:18 +01:00
falsandtru
d86976a9ef Convert overloads to unions 2017-03-14 08:06:00 +09:00
Kanchalai Tanglertsampan
ddf5ed944b Emit dynamic import when module kind is es2018 2017-03-13 15:12:10 -07:00
Kanchalai Tanglertsampan
18c826b3aa Add new value "es2018" for module kind 2017-03-13 14:48:40 -07:00
Kanchalai Tanglertsampan
7340d84a02 Rename importcall to importCallExpression 2017-03-13 14:47:54 -07:00
Anders Hejlsberg
dd84d7ca48 Add repro 2017-03-13 13:24:14 -07:00
Anders Hejlsberg
3f3b05e67e Properly track method/property distinction for intersection members 2017-03-13 13:15:09 -07:00
Zhengbo Li
c46a2e7e1b always create new node array when assigning positions 2017-03-13 12:45:28 -07:00
Mohamed Hegazy
84d5d44ab3 Merge pull request #14632 from Microsoft/port14594ToMaster
Port #14594 to master
2017-03-13 10:48:54 -07:00
Mohamed Hegazy
67be949d1d Merge pull request #14616 from Microsoft/inferFromNestedArrowFunctionExpressionsAndPropDeclarations
Infer class property declarations from assignments in nested arrow functions
2017-03-13 10:45:47 -07:00
Mohamed Hegazy
d0c77e326e Merge pull request #14631 from Microsoft/update-issue_template
Update issue template to use TS2.2
2017-03-13 10:39:16 -07:00
Mohamed Hegazy
4f04794d00 Merge remote-tracking branch 'origin/mjbvz-fix-per-request-cancellation' 2017-03-13 10:34:32 -07:00
Arthur Ozga
ef72c2e5d5 Merge branch 'createTypeNode' of github.com:aozgaa/TypeScript into createTypeNode 2017-03-13 10:11:13 -07:00
Andy Hanson
53f04ad89c Update issue template to use TS2.2 2017-03-13 09:28:05 -07:00
Arthur Ozga
f0b4efe94f type literals, properties only 2017-03-13 09:18:40 -07:00
Arthur Ozga
6fe59f3450 Unions and intersections 2017-03-12 19:18:51 -07:00
Arthur Ozga
6c72283378 Use consistent quotes 2017-03-12 18:52:38 -07:00
Arthur Ozga
060317759e Add type parameters 2017-03-12 18:48:51 -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
f5f01a162f Simplify Ranges 2017-03-12 17:14:20 -07:00
Arthur Ozga
03511c0b09 snythesize methods in missing member fix 2017-03-12 16:36:03 -07:00
Mohamed Hegazy
3ac54e8a47 Infer class property declarations from assignments in nested arrow functions 2017-03-12 15:00:24 -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
Arthur Ozga
c6693983f4 Revert "temp"
This reverts commit fd65966a50.

Accidentally pushed to the wrong branch.
2017-03-11 09:10:26 -08:00