Alexader
fe0e809742
Fix #23180 - Generating source maps with relative path in sourceRoot option produces maps with absolute file paths
2018-05-09 13:00:08 +03:00
Ron Buckton
f17bf54bfe
Merge pull request #23887 from agentcooper/async-generator-resolve-promise
...
Resolve promise inside async generator
2018-05-09 00:23:47 -07:00
Artem Tyurin
d88210b270
Do not check for await expression and always output yield await
2018-05-09 09:09:49 +02:00
Mohamed Hegazy
030b8fc8a6
Merge pull request #23976 from ialexryan/patch-3
...
Fix comment typo in program.ts
2018-05-08 22:08:56 -07:00
csigs
67ebb6c751
LEGO: check in for master to temporary branch.
2018-05-09 04:10:24 +00:00
Wesley Wigham
cb42086bab
Fix RWC tsconfig and lib paths ( #23979 )
...
* Fix RWC tsconfig paths
* Fix lints
* move helper from utils into vpath
2018-05-08 17:07:54 -07:00
Mohamed Hegazy
80d168dde6
Merge pull request #23980 from ialexryan/patch-2
...
Fix comment typo in types.ts
2018-05-08 15:00:38 -07:00
Alex Ryan
4cc345e4e0
Fix comment typos in utilities.ts
2018-05-08 14:58:18 -07:00
Alex Ryan
f9bd3afb8f
Fix comment typo in types.ts
2018-05-08 14:51:49 -07:00
Alex Ryan
01351d43e4
Fix comment typo in program.ts
2018-05-08 14:36:32 -07:00
Alex Ryan
4fb2add9a1
Fix comment typo in resolutionCache.ts
...
Another comment-only fix.
2018-05-08 14:27:40 -07:00
Alex Ryan
211b09b46c
Fix typo in parser.ts
2018-05-08 14:20:26 -07:00
Andy
5725428f2d
fixUnusedIdentifier: Handle destructure with all bindings unused ( #23805 )
...
* fixUnusedIdentifier: Handle destructure with all bindings unused
* Add parameters test
* Add test for 'for' loop
2018-05-08 13:33:55 -07:00
Wesley Wigham
556c316fed
Make new harness fake host more performant in large complications ( #23951 )
...
* Make new harness fake host more performant in large complications
* Use sortedmap
2018-05-08 12:46:33 -07:00
Sheetal Nandi
12790e8d83
Merge pull request #23910 from Microsoft/moduleUpdates
...
Support invalidating resolutions that are path mapped into sibling folder of root
2018-05-08 12:41:11 -07:00
Anders Hejlsberg
40e0ab72d2
Merge pull request #23966 from Microsoft/fixIndexedAccessAnyConstraint
...
Fix indexed access with 'any' constraint
2018-05-08 12:21:00 -07:00
Mohamed Hegazy
27550d3013
Merge pull request #23925 from rhysd/fix-npm-default-location-detection
...
Check detected default npm path is really existing
2018-05-08 11:33:30 -07:00
Andy
ccfd3bf603
Handle BindingElement in fixUnusedIdentifier ( #23819 )
...
* Handle BindingElement in fixUnusedIdentifier
* Add array destructure tests
2018-05-08 11:23:01 -07:00
Wesley Wigham
8ab5be9a86
Add hook for adding transforms into the declaration emit pipeline after the main one ( #23946 )
...
* Add hook for adding transforms into the declaration emit pipeline after the main one
* Fix lint
2018-05-08 11:20:48 -07:00
Andy
ddf20ecd6d
Support '.' as a trigger character ( #23890 )
...
* Support '.' as a trigger character
* Add a CompletionsTriggerCharacter type
* Add more trigger characters
* Add another type CompletionsTriggerCharacter
* Update API baselines
2018-05-08 09:52:46 -07:00
Ryan Cavanaugh
f35a20e29e
Merge pull request #23944 from RyanCavanaugh/projRefs
...
Project References Core Support
2018-05-09 04:45:38 +12:00
Anders Hejlsberg
ce6fd5eeaa
Exception for 'any' constraint only applies to type parameters
2018-05-08 09:42:03 -07:00
csigs
a930b571f9
LEGO: check in for master to temporary branch.
2018-05-08 16:10:28 +00:00
csigs
ec974a599a
LEGO: check in for master to temporary branch.
2018-05-08 10:10:40 +00:00
Artem Tyurin
4d37c44b92
Apply transformation to await expression
2018-05-08 08:21:08 +02:00
csigs
7b888906f7
LEGO: check in for master to temporary branch.
2018-05-08 04:10:32 +00:00
Andy
123ae530a7
convertToEs6Module: Replace 'module.exports =' with 'export default' without replacing nodes ( #23948 )
2018-05-07 15:45:43 -07:00
Andy
a50001c9da
Treat 'import("")' as a module reference ( #23949 )
2018-05-07 15:42:36 -07:00
Ryan Cavanaugh
10f2eb5ff1
Pass setParentNodes through to parseJsonText
2018-05-07 15:39:00 -07:00
Ryan Cavanaugh
ffa0ccba2a
Project References Core support
2018-05-07 15:12:50 -07:00
Sheetal Nandi
8fc4242097
Merge pull request #23915 from Microsoft/jsonCompletions
...
Suggest json files in completion when resolveJsonModule is set and module resolution is node
2018-05-07 12:53:09 -07:00
Andy
004a558125
Avoid unnecessary newline when inserting node at start of class ( #23935 )
2018-05-07 12:40:33 -07:00
Andy
2604bb4dd3
Add 'string' ScriptElementKind ( #23821 )
2018-05-07 12:39:00 -07:00
Andy
05b250691f
Expose ProjectService to plugins ( #23824 )
...
Add refreshDiagnostics() method to Project
2018-05-07 12:38:38 -07:00
Sheetal Nandi
92296b34dd
Rename
2018-05-07 12:14:53 -07:00
Mohamed Hegazy
e39e6fc780
Merge pull request #23894 from Microsoft/importOutlining
...
Add outlining spans for Import declarations
2018-05-07 12:08:11 -07:00
Andy
a05feed839
generateGetAccessorAndSetAccessor: Preserve a parameter property declaration ( #23318 )
2018-05-07 11:33:00 -07:00
Andy
7fa5f70b9a
Remove verify.referencesAre, verify.referencesOf, verify.rangesReferenceEachOther ( #23900 )
2018-05-07 10:08:38 -07:00
rhysd
1fda3a4165
Check detected npm path is existing
2018-05-07 13:22:42 +09:00
csigs
f3e4f596a9
LEGO: check in for master to temporary branch.
2018-05-05 22:10:26 +00:00
Mohamed Hegazy
64d6b24c87
Code review comments
2018-05-05 13:22:48 -07:00
Mohamed Hegazy
3bc3f2d404
Add comments to kinds
2018-05-05 12:38:59 -07:00
Mohamed Hegazy
12ed49bada
Revert adding named import binding list outlining spans
2018-05-05 12:04:12 -07:00
Mohamed Hegazy
8072dae16b
Change kind name to imports
2018-05-05 12:02:40 -07:00
Paul Koerbitz
a2d42a6421
Add WSH as an alias for WScript in scripthost.d.ts
2018-05-05 17:03:05 +02:00
csigs
4c48e2ca05
LEGO: check in for master to temporary branch.
2018-05-05 04:10:17 +00:00
Artem Tyurin
4318d97531
Revert "Resolve promise inside async generator"
...
This reverts commit 3e4279195f .
2018-05-05 02:45:33 +02:00
Artem Tyurin
fa94fb079c
Always yield await in async generator
2018-05-05 02:45:14 +02:00
Sheetal Nandi
e8cd6b1111
Suggest json files in completion when resolveJsonModule is set and module resolution is node
...
Fixes #23899
2018-05-04 17:10:48 -07:00
Andy
cecad27662
findAllReferences: Treat a nested property in a jsdoc type literal as a definition ( #23901 )
...
* findAllReferences: Treat a nested property in a jsdoc type literal as a definition
* Fix lint
2018-05-04 16:58:07 -07:00