Commit graph

15181 commits

Author SHA1 Message Date
Ron Buckton 60d5195112 Update baselines, fix assignment check for object rest. 2016-11-14 16:56:59 -08:00
Ron Buckton 45772270a4 Merge branch 'master' into isolateObjectSpread 2016-11-14 15:33:45 -08:00
Ron Buckton 6e3bbcc6fc Merge pull request #12245 from Microsoft/fix12244
Fix string constituent check in checkElementTypeOfArrayOrString
2016-11-14 15:27:45 -08:00
Ron Buckton cb1bb19358 Update comment 2016-11-14 15:26:33 -08:00
Ron Buckton db4ea4a008 Update baselines 2016-11-14 15:25:29 -08:00
Ron Buckton 06a13b9d10 Fix string constituent check in checkElementTypeOfArrayOrString 2016-11-14 15:22:04 -08:00
Vladimir Matveev f13e6d4ca6 enable syntactic features if project size exceeded the limit, send events when state of language service changes (#12190)
* enable syntactic features if project size exceeded the limit, send events when state of language service changes

* allow getting compiler options diagnostics when language service is disabled
2016-11-14 15:10:32 -08:00
Vladimir Matveev 04aaa32367 add 'installSuccess' flag to telemetry, cache misses if npm install fails (#12163) (#12240)
* add 'installSuccess' flag to telemetry, cache misses if npm install fails

* fix typo
2016-11-14 14:56:49 -08:00
Ron Buckton 08f467bd4c Clean up destructuring 2016-11-14 14:20:25 -08:00
Mohamed Hegazy 6a67f8085a Merge pull request #12232 from Microsoft/removeJSFromVSResolutions
Remove js from vs resolutions
2016-11-14 14:13:32 -08:00
Vladimir Matveev f11e8a3c69 add 'installSuccess' flag to telemetry, cache misses if npm install fails (#12163)
* add 'installSuccess' flag to telemetry, cache misses if npm install fails

* fix typo
2016-11-14 14:10:22 -08:00
Mohamed Hegazy 2827b370cc Merge pull request #12207 from ethanresnick/precise-object-entry-types
More precise Object.entries type declarations
2016-11-14 13:55:27 -08:00
Mohamed Hegazy 964f9c5fe2 Make failedLookupLocations an array 2016-11-14 13:24:03 -08:00
Mohamed Hegazy 57a602b924 Include no types in services 2016-11-14 12:47:04 -08:00
Mohamed Hegazy 4782563ee3 Filter JS files from resolutions sent to VS through shims 2016-11-14 12:46:56 -08:00
Mohamed Hegazy a0338d15e1 Ignore optionality in the comparable relationship (#12202)
* Added tests.

* Accepted baselines.

* Avoid checking for optionality in comparability checks.

* Accepted baselines.
2016-11-14 10:47:48 -08:00
Vladimir Matveev 36511838a4 allow getting compiler options diagnostics when language service is disabled 2016-11-14 10:41:48 -08:00
Ron Buckton d5b9263433 Consolidate destructuring code paths 2016-11-14 10:40:26 -08:00
Nathan Shively-Sanders 0cda239e1c Merge pull request #12156 from Microsoft/fix-jsdoc-missing-space-from-bad-indent
Fix jsdoc missing space from bad indent
2016-11-14 08:21:40 -08:00
Anders Hejlsberg f437c8f318 Merge pull request #12114 from Microsoft/mappedTypes
Mapped types
2016-11-13 15:39:32 -08:00
(´・ω・`) 4166eeb284 fix #12137, correct ProxyHandler signatures (#12172)
* fix #12137, correct ProxyHandler signatures

* address PR review
2016-11-13 15:27:07 -08:00
Anders Hejlsberg cd05c079ce Add comment explaining type alias instantiation strategy 2016-11-13 15:25:16 -08:00
Anders Hejlsberg db813d5171 Merge pull request #12210 from Microsoft/typePredicateCheck
Fix type predicate check circularity
2016-11-13 14:48:48 -08:00
Vladimir Matveev 56f97e16e3 remove tsd dependency (#12206) 2016-11-13 13:52:25 -08:00
Vladimir Matveev b15d144955 switch to tslint@next (#12201) 2016-11-13 13:34:18 -08:00
Anders Hejlsberg 85702197b4 Add regression test 2016-11-13 08:35:40 -08:00
Anders Hejlsberg 24567445d6 Add early bail out for call expressions that are never type predicates 2016-11-13 08:29:21 -08:00
Ethan Resnick ea33d6e501 More precise Object.entries type declarations
We can leverage the new index type queries and indexed access types
from #11929 to get better type inference for Object.entries.
2016-11-13 02:59:50 -05:00
Daniel Rosenwasser 8708c8965c Accepted baselines. 2016-11-12 12:59:57 -08:00
Daniel Rosenwasser 375437ef3c Avoid checking for optionality in comparability checks. 2016-11-12 12:59:43 -08:00
Daniel Rosenwasser 2edabe0ae0 Accepted baselines. 2016-11-12 12:53:23 -08:00
Daniel Rosenwasser ffed2484d3 Added tests. 2016-11-12 12:46:01 -08:00
Anders Hejlsberg 6ceab7bce7 Accept new baselines 2016-11-12 09:20:30 -08:00
Anders Hejlsberg 9ac7667d5c Address CR feedback 2016-11-12 08:55:23 -08:00
Vladimir Matveev 3b09010c7c enable syntactic features if project size exceeded the limit, send events when state of language service changes 2016-11-11 17:35:11 -08:00
Ron Buckton 8babde0b98 WIP Clean up destructuring 2016-11-11 17:23:42 -08:00
Andy 0e879c0bbf Merge pull request #12103 from Microsoft/path_mapping_exact_extension
Allow a path mapping to provide a file extension
2016-11-11 14:22:05 -08:00
Andy Hanson 43a4b22eba Update baseline 2016-11-11 14:13:09 -08:00
Andy Hanson 1e92a9803b Merge branch 'master' into path_mapping_exact_extension 2016-11-11 14:11:40 -08:00
Andy Hanson a0e4ab94f1 Allow JS files 2016-11-11 13:59:13 -08:00
Andy Hanson 240b474ba3 Merge branch 'master' into path_mapping_exact_extension 2016-11-11 13:52:10 -08:00
Andy 1510674d47 Merge pull request #12020 from Microsoft/symlink3
Only resolve symlinks in `node_modules`
2016-11-11 13:52:00 -08:00
Andy Hanson 6c7e1b6913 Merge branch 'master' into symlink3 2016-11-11 13:35:47 -08:00
Andy 9a3dd3e81c Merge pull request #11993 from Microsoft/common_source_directory
Leave files from `node_modules` out when calculating `getCommonSourceDirectory`
2016-11-11 13:18:42 -08:00
Andy 382891ff23 Merge pull request #11926 from Microsoft/module_resolution_fixes
When looking up modules in @types, only look for `index.d.ts` and `pa…
2016-11-11 13:17:45 -08:00
Andy Hanson b65729e5b2 Merge branch 'master' into common_source_directory 2016-11-11 13:10:29 -08:00
Andy Hanson ce9e5f5227 Fix test 2016-11-11 13:00:40 -08:00
Andy Hanson 823d385322 Add Push interface 2016-11-11 12:49:53 -08:00
Andy Hanson 8308ab34d8 When looking up modules in @types, only look for index.d.ts and package.json. 2016-11-11 12:49:53 -08:00
Anders Hejlsberg 5028a44e56 Accept new baselines 2016-11-11 11:00:24 -08:00