Mohamed Hegazy
d537b79c61
Merge release-2.1 into master ( #12157 )
...
* Update LKG
* Update version
* Update LKG
* Skip overloads with too-short function parameters
If the parameter of an overload is a function and the argument is also a
function, skip the overload if the parameter has fewer arguments than
the argument does. That overload cannot possibly apply, and should not
participate in, for example, contextual typing.
Example:
```ts
interface I {
(a: number): void;
(b: string, c): void;
}
declare function f(i: I): void;
f((x, y) => {});
```
This code now skips the first overload instead of considering.
This was a longstanding bug but was only uncovered now that more
functions expressions are context sensitive.
* Test skip overloads w/too-short function params
1. Update changed baseline.
2. Add a new test with baseline.
* Minor style improvements
* Ignore optionality when skipping overloads
* Do not use contextual signatures with too few parameters
* isAritySmaller runs later: getNonGenericSignature
* rewrite void-returning statements in constructors that capture result of super call (#11868 )
* rewrite void-returning statements in constructors that capture result of super call
* linter
* Update LKG
* Fix emit inferred type which is a generic type-alias both fully and partially fill type parameters
* Add tests and baselines
* Skip trying to use alias if there is target type
* Update baselines
* Add diagnostics to remind adding tsconfig file for certain external project (#11932 )
* Add diagnostics for certain external project
* Show tsconfig suggestion
* fix lint error
* Address pr
* fix comment
* Update error message
* Flag for not overwrite js files by default without generating errors (#11980 )
* WIP
* Properly naming things
* refactor
* apply the option to all files and check out options
* Fix typo
* Update LKG
* lockLinter
* use local registry to check if typings package exist (#12014 ) (#12032 )
use local registry to check if typings package exist
* Add test for https://github.com/Microsoft/TypeScript/pull/11980 (#12027 )
* add test for the fix for overwrite emitting error
* cr feedback
* enable sending telemetry events to tsserver client (#12034 ) (#12051 )
enable sending telemetry events
* Update LKG
* Reuse subtree transform flags for incrementally parsed nodes (#12088 )
* Update LKG
* Update version
* Update LKG
* Do not emit "use strict" when targeting es6 or higher or module kind is es2015 and the file is external module
* Add tests and baselines
* [Release 2.1] fix11754 global augmentation (#12133 )
* Exclude global augmentation from module resolution logic
* Address PR: check using string literal instead of NodeFlags.globalAugmentation
* Remove comment
2016-11-10 14:28:34 -08:00
..
2016-07-27 12:05:45 -07:00
2016-07-27 12:05:45 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-10-10 00:03:33 +02:00
2016-10-10 12:15:34 +02:00
2016-10-10 00:03:33 +02:00
2016-10-13 16:54:09 -07:00
2016-11-10 14:28:34 -08:00
2016-11-10 14:28:34 -08:00
2016-11-10 14:28:34 -08:00
2016-11-10 14:28:34 -08:00
2016-10-10 00:03:33 +02:00
2016-10-10 00:03:33 +02:00
2016-07-30 08:17:46 -07:00
2016-09-26 12:47:22 -07:00
2016-10-24 11:19:41 -07:00
2016-09-21 16:03:51 -07:00
2016-10-14 10:54:54 +02:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-09-21 06:44:09 +09:00
2016-09-12 20:58:41 -07:00
2016-07-18 15:38:30 -07:00
2016-10-28 14:43:08 -07:00
2016-07-29 08:34:14 -07:00
2016-08-01 09:49:27 -07:00
2016-09-24 15:07:54 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-10-19 11:30:17 -07:00
2016-10-18 11:35:22 -07:00
2016-09-01 13:57:52 -07:00
2016-09-01 13:57:52 -07:00
2016-09-01 13:57:52 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-26 13:28:04 -07:00
2016-09-12 14:45:42 -07:00
2016-09-07 16:59:22 -07:00
2016-09-07 13:55:02 -07:00
2016-09-07 18:02:45 -07:00
2016-09-12 12:41:39 -07:00
2016-07-27 15:33:36 -07:00
2016-10-26 16:48:29 -07:00
2016-10-27 14:44:54 -07:00
2016-10-13 13:29:08 -07:00
2016-10-13 13:29:08 -07:00
2016-08-26 15:51:10 -07:00
2016-10-03 10:52:28 -07:00
2016-10-03 10:52:28 -07:00
2016-09-09 10:05:49 -07:00
2016-09-19 17:06:44 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-16 09:15:46 -07:00
2016-09-16 09:15:46 -07:00
2016-09-16 09:15:46 -07:00
2016-09-16 09:15:46 -07:00
2016-09-16 09:15:46 -07:00
2016-09-16 09:15:46 -07:00
2016-09-16 09:15:46 -07:00
2016-09-16 09:15:46 -07:00
2016-09-16 09:15:46 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-09-28 14:51:49 -07:00
2016-11-10 14:28:34 -08:00
2016-11-10 14:28:34 -08:00
2016-11-10 14:28:34 -08:00
2016-11-10 14:28:34 -08:00
2016-11-10 14:28:34 -08:00
2016-09-15 08:59:14 -07:00
2016-09-15 08:59:14 -07:00
2016-10-26 17:15:04 -07:00
2016-10-26 17:15:04 -07:00
2016-10-26 17:15:04 -07:00
2016-10-26 17:15:04 -07:00
2016-11-01 11:05:09 -07:00
2016-11-01 11:05:09 -07:00
2016-09-03 01:09:39 -07:00
2016-07-18 15:38:30 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-10-28 14:17:01 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-09-12 10:05:48 -07:00
2016-09-12 14:13:17 -07:00
2016-10-04 16:32:16 -07:00
2016-09-08 01:53:53 +12:00
2016-09-08 01:53:53 +12:00
2016-09-08 09:21:34 +12:00
2016-08-25 09:21:31 -07:00
2016-09-12 14:45:42 -07:00
2016-09-21 16:03:51 -07:00
2016-09-30 14:20:06 -07:00
2016-09-14 18:01:54 -07:00
2016-10-15 01:16:11 +02:00
2016-09-08 17:46:24 -07:00
2016-10-24 13:18:46 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-09-29 06:15:48 -07:00
2016-08-05 21:45:13 -07:00
2016-09-21 16:03:51 -07:00
2016-10-25 11:45:32 -07:00
2016-10-16 20:57:51 -07:00
2016-09-24 16:21:26 -07:00
2016-09-12 14:22:25 -07:00
2016-09-12 20:28:38 -07:00
2016-08-26 15:51:10 -07:00
2016-09-21 16:03:51 -07:00
2016-10-13 09:44:37 -07:00
2016-08-26 15:51:10 -07:00
2016-11-10 11:47:03 -08:00
2016-08-30 07:45:51 -07:00
2016-08-30 07:45:51 -07:00
2016-11-10 11:32:03 -06:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-09-12 14:45:42 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-11-08 06:09:41 -08:00
2016-10-18 14:13:30 -07:00
2016-07-18 15:38:30 -07:00
2016-11-09 10:39:46 -08:00
2016-11-09 10:39:46 -08:00
2016-10-20 15:25:59 -07:00
2016-11-09 12:23:59 -08:00
2016-11-09 16:51:10 -08:00
2016-11-09 16:56:43 -08:00
2016-11-09 16:56:43 -08:00
2016-11-09 14:32:42 -08:00
2016-11-09 14:32:42 -08:00
2016-11-09 16:51:10 -08:00
2016-11-09 16:56:43 -08:00
2016-10-24 11:19:41 -07:00
2016-09-28 12:26:30 -07:00
2016-09-28 12:26:30 -07:00
2016-08-25 11:02:26 -07:00
2016-10-05 11:33:44 -07:00
2016-10-05 17:40:01 -07:00
2016-08-26 15:51:10 -07:00
2016-09-20 17:11:39 -07:00
2016-10-18 07:09:43 -07:00
2016-10-18 07:09:43 -07:00
2016-10-27 08:08:02 -07:00
2016-10-18 07:09:43 -07:00
2016-10-18 07:09:43 -07:00
2016-10-18 07:09:43 -07:00
2016-10-31 08:23:02 -07:00
2016-08-27 11:56:16 +09:00
2016-08-27 11:56:16 +09:00
2016-10-07 17:46:13 -07:00
2016-08-01 07:04:43 -07:00
2016-09-10 07:20:05 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-07-22 15:41:52 -07:00
2016-07-22 15:41:52 -07:00
2016-07-22 15:41:52 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-08-30 16:07:36 -07:00
2016-08-30 16:07:36 -07:00
2016-10-21 16:15:39 -07:00
2016-07-19 15:16:27 -07:00
2016-09-08 11:21:40 -07:00
2016-08-26 13:25:19 -07:00
2016-09-27 16:03:57 -07:00
2016-07-23 15:50:21 +09:00
2016-08-20 00:39:41 -07:00
2016-08-20 00:39:41 -07:00
2016-10-20 13:35:46 -07:00
2016-10-04 12:17:03 -07:00
2016-10-06 10:22:35 -07:00
2016-07-18 15:38:30 -07:00
2016-08-26 15:51:10 -07:00
2016-07-18 15:38:30 -07:00
2016-11-01 10:07:30 -07:00
2016-10-13 16:29:35 -07:00
2016-08-26 15:51:10 -07:00
2016-09-30 15:46:35 -07:00
2016-09-30 17:29:24 -07:00
2016-10-15 17:29:03 -07:00
2016-08-26 15:51:10 -07:00
2016-09-14 11:16:37 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-08-05 21:45:13 -07:00
2016-09-01 16:19:44 -07:00
2016-09-01 16:19:44 -07:00
2016-08-05 21:45:13 -07:00
2016-09-02 07:07:43 -07:00
2016-09-01 09:25:20 -07:00
2016-08-15 17:29:42 -04:00
2016-08-15 01:43:42 -04:00
2016-08-26 08:49:43 -07:00
2016-09-06 11:31:20 -07:00
2016-09-19 18:32:06 +03:00
2016-08-29 09:48:17 +05:00
2016-10-03 11:03:28 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-10-24 11:17:35 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-10-19 10:58:36 -07:00
2016-10-19 10:58:36 -07:00
2016-10-19 10:58:36 -07:00
2016-10-19 10:58:36 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-11-02 11:07:33 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-10-21 14:47:41 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-08-26 15:51:10 -07:00
2016-08-26 15:51:10 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-17 23:51:17 -07:00
2016-07-17 23:51:17 -07:00
2016-07-17 23:51:17 -07:00
2016-07-17 23:51:17 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-07-18 15:38:30 -07:00
2016-10-19 13:07:49 -07:00