Commit Graph

19827 Commits

Author SHA1 Message Date
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 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 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
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 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 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
Matt Bierner 205f63891e Fix Per Request Cancellation Tokens
While working on https://github.com/Microsoft/vscode/pull/22437, I believe there is a bug in the per request cancellation in the  `setRequest` function on the line `currentRequestId = currentRequestId ;` This causes `currentRequestId` to always be undefined

Fix is to assign the `currentRequestId` to `requestId`
2017-03-10 22:13:58 -08:00
Yui T 126fb640db Wip-type check dynamic import 2017-03-10 22:07:08 -08:00
Arthur Ozga fd65966a50 temp 2017-03-10 21:18:18 -08:00
Daniel Rosenwasser 7532ab2d83 Remove stray apostrophe. 2017-03-10 17:25:31 -08:00
Andy Hanson 746b7e4798 Expose forEachChild as a method of Node 2017-03-10 10:42:26 -08:00
Vladimir Matveev 17cb68cbbf send error if obtaining of types-registry package failed (#14573) 2017-03-10 10:34:01 -08:00
Nathan Shively-Sanders bdb6a8a83a Merge pull request #12784 from e-cloud/fix/generic-this-arg
fix: add generic info for methods with thisArg of built-in classes
2017-03-10 09:02:09 -08:00
DLehenbauer 3f980bead0 Remove vestiges of WScript support (Issue #14414) 2017-03-10 07:10:58 -08:00
Yui T 827abb3576 Parse import call and use collect its specifier 2017-03-09 22:30:06 -08:00
Yui T e7b3a1514e Merge branch 'master' into master-dynamicImport 2017-03-09 19:11:25 -08:00
Yui 940d165b0d Merge pull request #14212 from Microsoft/master-12989
[Master] Fix 12989:  completion in JSX opening-like element when tag name is a property access expression
2017-03-09 18:42:36 -08:00
Arthur Ozga 8817703a15 Merge pull request #14545 from aozgaa/docCommentPrefix
Make docComment template indent whitespace-only
2017-03-09 16:13:29 -08:00
Mohamed Hegazy 936a91d271 Add comment 2017-03-09 16:12:58 -08:00
Mohamed Hegazy 706acdf138 Add quick fix to disable error checking in a .js file 2017-03-09 15:59:26 -08:00
Kanchalai Tanglertsampan 330f7bf96c Correctly parse import() 2017-03-09 15:55:09 -08:00
Vladimir Matveev 77c2a1d20d allow passing --logFile and --logVerbosity parameter to tsserver (#14566) 2017-03-09 15:25:44 -08:00
Anders Hejlsberg f2c487ed11 Merge pull request #14562 from Microsoft/fixLookupTypeRelation
Fix indexed access type relations
2017-03-09 10:51:29 -10:00
Anders Hejlsberg 014aeb3fd3 Use immediate constraint instead of base constraint in T[K] relations 2017-03-09 11:50:07 -08:00
Mohamed Hegazy fe7719f0a9 Disable check diagnostics per line 2017-03-08 23:18:39 -08:00
Mohamed Hegazy 3d03f8d8a5 Merge branch 'fixBuildBreak' into checkJSFiles 2017-03-08 23:17:28 -08:00
Mohamed Hegazy 81c0bd50ab Add --lib es6 to @types/node dependent targets 2017-03-08 23:03:30 -08:00
Mohamed Hegazy e9f82145b7 Code review comments 2017-03-08 21:50:23 -08:00
e-cloud cedad974d2 fix: add generic info for methods with thisArg of built-in classes
when enabling `noImplicitThis`, if assing this argument for
methods like `array.forEach` will cause compilation error.
This commit fixes it.

fix #12548
2017-03-09 11:52:54 +08:00
Mohamed Hegazy 0fb415ac61 Merge pull request #14492 from Microsoft/anyInferences
Set inference result to `any` instead of `{}` for .js files if generic type parameter inference found no candidates
2017-03-08 16:15:50 -08:00
Kanchalai Tanglertsampan ca0816710a Wip-parsing import call expression 2017-03-08 15:53:38 -08:00
Kanchalai Tanglertsampan 787ed372fb Use term UpdateExpression instead of IncrementExpression to keep it consistent with ECMA spec 2017-03-08 14:57:57 -08:00
Mohamed Hegazy 41dbae58f3 code review comments 2017-03-08 14:15:26 -08:00
Arthur Ozga b7d09ef015 Make docComment template indent whitespace-only 2017-03-08 12:41:20 -08:00
Vladimir Matveev d847e6a66a Merge remote-tracking branch 'origin/master' into vladima/textChanges 2017-03-07 15:10:41 -08:00
Nathan Shively-Sanders 1bf4f06b2a Merge pull request #14498 from Microsoft/narrow-default-initialised-parameters
Remove undefined from the type of default  initialised parameters when narrowing
2017-03-07 15:03:57 -08:00
Mohamed Hegazy fb218b7897 Error if --checkJs is used without --allowJs 2017-03-07 14:21:13 -08:00