32018 Commits

Author SHA1 Message Date
TypeScript Bot
de4a57afdc
Update user baselines +cc @sandersn (#41423)
Co-authored-by: typescript-bot <typescript@microsoft.com>
2020-11-11 10:47:30 -08:00
Christopher Hiller
40adb27799
dispose Mocha Runner after use to avoid MaxlistenersExceededWarning (#41403)
* dispose Mocha Runner after use to avoid MaxlistenersExceededWarning

- removed manual `unhandledRejection` listener as Mocha v8.2.0 now has one

* Remove ts-ignore comment and commented out line.

Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2020-11-11 10:38:43 -08:00
TypeScript Bot
b5b0437a86 Update package-lock.json 2020-11-11 06:17:00 +00:00
csigs
1ddf22f990
LEGO: Merge pull request 41488
LEGO: Merge pull request 41488
2020-11-10 22:11:15 -08:00
csigs
0ffcbcf8bf LEGO: check in for master to temporary branch. 2020-11-11 06:10:47 +00:00
csigs
56d5fbe1c2
LEGO: Merge pull request 41485
LEGO: Merge pull request 41485
2020-11-10 16:11:13 -08:00
csigs
a335d84e17 LEGO: check in for master to temporary branch. 2020-11-11 00:10:40 +00:00
Nathan Shively-Sanders
9fb6acf1e1
Add missed resolveSymbol in commonjs import resolution (#41479)
Fixes resolution of export aliases in the postfix-property-access case
of commonjs require:

```js
const { x } = require('./foo').nested
x
```

This program would previously fail if `x` was an export alias.

Fixes #41422
2020-11-10 11:28:49 -08:00
csigs
728c9cc1bf
LEGO: Merge pull request 41480
LEGO: Merge pull request 41480
2020-11-10 10:10:57 -08:00
csigs
e5a860cc95 LEGO: check in for master to temporary branch. 2020-11-10 18:10:28 +00:00
csigs
d72829757d
LEGO: Merge pull request 41474
LEGO: Merge pull request 41474
2020-11-10 04:10:59 -08:00
csigs
fb1fb6c68b LEGO: check in for master to temporary branch. 2020-11-10 12:10:30 +00:00
TypeScript Bot
54f9b4901b Update package-lock.json 2020-11-10 06:16:03 +00:00
csigs
6b6c62d995
LEGO: Merge pull request 41471
LEGO: Merge pull request 41471
2020-11-09 22:11:15 -08:00
csigs
c7b1c011d3 LEGO: check in for master to temporary branch. 2020-11-10 06:10:43 +00:00
Nathan Shively-Sanders
0fc190ec32
Add more team members to pr_owners.txt (#41416)
1. I may have missed some frequent committers. Please let me know if I
did.
2. I'm not sure what pr_owners.txt is used for, besides the bot's
isTeamMember check. Maybe there's a reason the list is so small.
2020-11-09 14:08:43 -08:00
Wesley Wigham
dc7d997e4a
Fix crash on attempting to suggest a ts import for a synthetic js resolution 2020-11-09 14:05:17 -08:00
Nathan Shively-Sanders
64be2a8d16
Revert "Revert "feat(40197): handle uncalled function checks in binary expressions (#40260)"" (#41462)
This reverts commit cf3e28ea66bdfb4e438f86bd7d7860b66dae0ed8.
2020-11-09 11:34:41 -08:00
csigs
06a2210eb5
LEGO: Merge pull request 41436
LEGO: Merge pull request 41436
2020-11-06 16:11:19 -08:00
csigs
138e691eb5 LEGO: check in for master to temporary branch. 2020-11-07 00:10:50 +00:00
csigs
0b321a0334
LEGO: Merge pull request 41432
LEGO: Merge pull request 41432
2020-11-06 10:11:16 -08:00
csigs
af3c6073ce LEGO: check in for master to temporary branch. 2020-11-06 18:10:47 +00:00
Wenlu Wang
ca7510ea05
String literal rename support (#39298)
* add basicly support for rename string literal type

* fix merge conflict

* fix some behavior

* Update package-lock.json

* Update package-lock.json

* do not break old behavior if not type checked

* fix cr issue

Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2020-11-06 09:58:34 -08:00
csigs
ad2e2f80c1
LEGO: Merge pull request 41430
LEGO: Merge pull request 41430
2020-11-06 04:11:04 -08:00
csigs
611dc78265 LEGO: check in for master to temporary branch. 2020-11-06 12:10:35 +00:00
csigs
4b76b4aa43
LEGO: Merge pull request 41427
LEGO: Merge pull request 41427
2020-11-05 22:11:09 -08:00
csigs
0f944e6b4a LEGO: check in for master to temporary branch. 2020-11-06 06:10:41 +00:00
TypeScript Bot
135c5082b1
Update user baselines +cc @sandersn (#41195)
Co-authored-by: typescript-bot <typescript@microsoft.com>
2020-11-05 16:58:49 -08:00
csigs
41629ae701
LEGO: Merge pull request 41419
LEGO: Merge pull request 41419
2020-11-05 16:11:16 -08:00
csigs
44d9d5bdb3 LEGO: check in for master to temporary branch. 2020-11-06 00:10:46 +00:00
Oleksandr T
899e2d00e9
fix(40469): suggest QF convert 'Convert to named function' to function expressions (#40476) 2020-11-05 10:25:24 -08:00
Oleksandr T
98aaeb7f48
fix(40610): handle template string concatenation (#40653) 2020-11-05 10:09:21 -08:00
Oleksandr T
45b698b3f6
fix(40632): skip emitting abstract members (#40699) 2020-11-04 16:02:17 -08:00
Sheetal Nandi
76cf8fd78b
Add way to exclude files and directories to watch (#39243)
* Parse excludeDirectories and excludeFiles

* Use watch factory in typings installer

* Some refactoring for watchFactory

* Create Noop watcher if file or directory being watched is excluded

* Baselines without using exclude watch options

* Baselines including exclude option

* Handle exclude options in the system watches

* Add test without exclude option for recursive directory watching

* Test baselines with exclude option

* Always set sysLog

* Test for exclude option in server

* Add exclude options in the config file and fix the test

* Fix host configuration for server

* Handle host configuration for watch options

* Fix sysLog time log so baselines can be clean

* Handle reloadProjects to reload the project from scratch

* Ensure that file updates are reflected

* Feedback

* Feedback
2020-11-04 13:30:06 -08:00
TypeScript Bot
6c6315db58 Update package-lock.json 2020-11-04 06:17:32 +00:00
Oleksandr T
09048656d2
feat(40750): add refactoring to infer a return type annotation to a function (#41052) 2020-11-03 16:22:13 -08:00
csigs
31927549eb
LEGO: Merge pull request 41393
LEGO: Merge pull request 41393
2020-11-03 16:11:17 -08:00
csigs
3b059985dd LEGO: check in for master to temporary branch. 2020-11-04 00:10:47 +00:00
Sheetal Nandi
9c60d5a4d3
Dont look for properties of Object and Function type when looking to resolve named import from module with export= (#37964)
* Add tests

* Dont look at object or function type when looking for members of `export=` type to be resolved by named imports
Fixes #37165

* Create separate cache when skipping function and object property augmentation

* Lookup in both cache if not skipObjectFunctionPropertyAugment
2020-11-03 12:22:30 -08:00
csigs
b00870ead4
LEGO: Merge pull request 41384
LEGO: Merge pull request 41384
2020-11-03 10:11:08 -08:00
csigs
8452f9741b LEGO: check in for master to temporary branch. 2020-11-03 18:10:38 +00:00
Daniel Rosenwasser
9871b5f17c
Fix Markdown spec link (#41375) 2020-11-02 23:03:37 -08:00
Daniel Rosenwasser
4d19d98ca1
Bump 4.2 (#41377)
* Bump version to 4.2.

* Accepted baselines.
2020-11-02 23:02:03 -08:00
TypeScript Bot
07d5f5f3bc Update package-lock.json 2020-11-03 06:17:06 +00:00
csigs
935a108841
LEGO: Merge pull request 41376
LEGO: Merge pull request 41376
2020-11-02 22:11:08 -08:00
csigs
487b37cc24 LEGO: check in for master to temporary branch. 2020-11-03 06:10:40 +00:00
Oleksandr T
ad70313141
fix(39858): generate valid async/await code for imported functions (#40154) 2020-11-02 16:12:08 -08:00
csigs
620217c363
LEGO: Merge pull request 41373
LEGO: Merge pull request 41373
2020-11-02 16:11:27 -08:00
csigs
4116034b27 LEGO: check in for master to temporary branch. 2020-11-03 00:10:55 +00:00
Oleksandr T
5d81b17d02
fix(40042): add modifiers in correct position for decorated methods (#40050) 2020-11-02 15:52:57 -08:00