csigs
8b0fd95ae5
LEGO: Merge pull request 23599
...
LEGO: Merge pull request 23599
2018-04-20 21:10:44 -07:00
csigs
5b2f4ac380
LEGO: check in for master to temporary branch.
2018-04-21 04:10:23 +00:00
kingwl
1e1b72892c
accept baseline
2018-04-21 12:06:29 +08:00
Armando Aguirre
5434c4146e
Added deferred project context test, marked JsFileExtension as deprecated
2018-04-20 16:50:57 -07:00
csigs
bd84da6a98
LEGO: Merge pull request 23590
...
LEGO: Merge pull request 23590
2018-04-20 15:11:07 -07:00
csigs
ec0e04f853
LEGO: check in for master to temporary branch.
2018-04-20 22:10:46 +00:00
Andy
699ea246ff
Skip arrow functions in checkAndReportErrorForMissingPrefix ( #23584 )
2018-04-20 15:02:18 -07:00
Andy
5c94bef0e1
Add 'renameFile' command to services ( #23573 )
...
* Add 'renameFile' command to services
* renameFile -> getEditsForFileRename
* Support `<reference path>` directives
2018-04-20 13:43:09 -07:00
Nathan Shively-Sanders
e65681a2b7
Fix assert in getjsdochost ( #23575 )
...
* Fix assert in getJSDocHost
* Update public API to add wider type
* Remove now-unnecessary type assertion
2018-04-20 10:41:58 -07:00
Andy
22f2b118b7
Add 'triggerCharacter' option for completions requests ( #23491 )
...
* Add 'triggerCharacter' option for completions requests
* mhegazy code review
* More code review
* Handle '<' in comment
2018-04-20 10:25:58 -07:00
Mohamed Hegazy
2826bc72b8
Merge pull request #23470 from JoshuaKGoldberg/standardized-non-pretty-newlines
...
Adjusted newlines in non-pretty output for consistency
2018-04-20 10:01:03 -07:00
Anders Hejlsberg
b38e42e41e
Accept new baselines
2018-04-20 09:56:07 -07:00
Anders Hejlsberg
eb7bbfb28e
Properties with numeric names have numeric literal types in keyof T
2018-04-20 09:55:59 -07:00
Andy
18c3f5ffa0
Use getFirstConstructorWithBody in one more place, and simplify other class members iteration ( #23567 )
2018-04-20 09:43:38 -07:00
Andy
94cc59ca60
Support getting JSDoc comment starting at a FunctionType node ( #23546 )
...
* Support getting JSDoc comment starting at a FunctionType node
* Move || to end of line
2018-04-20 09:43:20 -07:00
Mohamed Hegazy
c8e4b7ba50
Merge pull request #23566 from ajafff/generator-cfa
...
binder: don't inline control flow of generator function
2018-04-20 09:11:50 -07:00
csigs
8ae065e214
LEGO: Merge pull request 23568
...
LEGO: Merge pull request 23568
2018-04-20 09:10:54 -07:00
csigs
760f8b85ab
LEGO: check in for master to temporary branch.
2018-04-20 16:10:25 +00:00
Klaus Meinhardt
f57ba59a77
resolveEntityName: don't return false ( #23563 )
...
Fixes : #23562
2018-04-20 08:42:29 -07:00
Klaus Meinhardt
8e565fb4a6
avoid generated helpers in baseline
2018-04-20 16:39:37 +02:00
Klaus Meinhardt
4827728b16
binder: don't inline generator function's control flow
...
Fixes : #23565
2018-04-20 16:26:53 +02:00
csigs
9a9d3abe5e
LEGO: Merge pull request 23561
...
LEGO: Merge pull request 23561
2018-04-20 03:10:58 -07:00
csigs
ee834a270a
LEGO: check in for master to temporary branch.
2018-04-20 10:10:36 +00:00
Josh Goldberg
7812e5180f
Trailing whitespace, oh no!
2018-04-19 22:01:08 -07:00
Josh Goldberg
351251193d
Simplified to one output line
2018-04-19 21:54:08 -07:00
Josh Goldberg
8d6c2bc1b1
Used return value from clearScreenIfNotWatchingForFiles
2018-04-19 21:53:01 -07:00
csigs
2449e8db1c
LEGO: Merge pull request 23558
...
LEGO: Merge pull request 23558
2018-04-19 21:10:38 -07:00
csigs
8740045d8e
LEGO: check in for master to temporary branch.
2018-04-20 04:10:18 +00:00
Ron Buckton
370107ed7b
Merge branch 'master' into vfs
2018-04-19 16:55:35 -07:00
Ron Buckton
6b79161f65
More cleanup and reorganization
2018-04-19 16:48:50 -07:00
Nathan Shively-Sanders
8d969a23cb
In JS, class supports @template tag for declaring type parameters ( #23511 )
...
* Support @template as a class type parameter
Still need to do the following:
1. Correctly get jsdoc host in predicate.
2. Make this work for constructor functions too.
3. Scan rest of codebase for other usages of the type parameters
property that should be calls to getEffectiveTypeParameterDeclarations.
4. Rename tp to something more readable, like typar or ts'.
* Use jsdoc host declaration to find container
* Longer names for type parameters
* Fix renaming operation
* Update fourslash test
* Support @template for JS constructors
* Look for both outer and tag type parameters
* Improve naming to improve code clarity
2018-04-19 15:58:43 -07:00
Daniel Rosenwasser
84b12910e8
Merge pull request #23430 from Microsoft/taggedTemplateTypeArguments
...
Allow type arguments in generic tagged templates
2018-04-19 15:50:19 -07:00
Andy
a7c08e4691
Make code fix to add 'this.' work for statics ( #23527 )
...
* Make code fix to add 'this.' work for statics
* Add 'C.' instead of 'this.'
* DanielRosenwasser code review
2018-04-19 15:39:44 -07:00
Andy
c258d6e1b6
Fix bug: Don't rename 'default' in export { default as x } from "m"; ( #23434 )
...
* Fix bug: Don't rename 'default' in `export { default as x } from "m";`
* Rename `foo` in `{ default as foo }` if that's the original export name
2018-04-19 15:35:25 -07:00
Andy
bc7979c174
quickInfo: Get JSDoc tags from aliased symbol ( #23526 )
...
* quickInfo: Get JSDoc tags from aliased symbol
* Add test with existing tags
2018-04-19 15:33:36 -07:00
Daniel Rosenwasser
87bb96d7b2
Accepted baselines.
2018-04-19 15:16:25 -07:00
Daniel Rosenwasser
70feb7b10b
Avoid duplicate code when checking for tagged templates.
2018-04-19 15:16:25 -07:00
Daniel Rosenwasser
7f96fec9d9
Added test in case 'super' is ever possibly parsed as a tagged template string.
2018-04-19 15:16:25 -07:00
csigs
7d6d7b0b4e
LEGO: Merge pull request 23550
...
LEGO: Merge pull request 23550
2018-04-19 15:11:13 -07:00
csigs
0f861bbfa8
LEGO: check in for master to temporary branch.
2018-04-19 22:10:53 +00:00
Mohamed Hegazy
c6ec5d555a
Merge pull request #23545 from Microsoft/revert22772
...
Revert change to PromiseConstructor in #22772
2018-04-19 14:49:35 -07:00
Ron Buckton
6aab09a82f
Revert change to PromiseConstructor in #22772
2018-04-19 11:42:57 -07:00
Ron Buckton
0322d71515
Cleanup and reorganize fakes
2018-04-19 11:30:03 -07:00
Daniel Rosenwasser
e21a8b8cfd
Accepted baselines.
2018-04-19 10:34:43 -07:00
Daniel Rosenwasser
8e27f4693c
Added test for ASI concerns.
2018-04-19 10:34:31 -07:00
Wesley Wigham
557a34e897
Visit typedef type expressions so they contribute to referenced-ness ( #23525 )
2018-04-19 10:28:30 -07:00
Sheetal Nandi
0526ff5fad
Merge pull request #23484 from Microsoft/typingInstallerWatch
...
Use watch recursive directories instead of watchFile for node_modules and bower components
2018-04-19 09:59:58 -07:00
csigs
54ad9b1b21
LEGO: Merge pull request 23540
...
LEGO: Merge pull request 23540
2018-04-19 09:10:57 -07:00
csigs
b8425fc596
LEGO: check in for master to temporary branch.
2018-04-19 16:10:34 +00:00
王文璐
2455405b02
allow string concat in enum member declaration
2018-04-19 21:48:51 +08:00