Commit Graph

19046 Commits

Author SHA1 Message Date
Andrej Baran e60e97f5c9 Cleanup comments 2016-10-13 01:04:38 +02:00
Daniel Rosenwasser 31a55e6452 Merge pull request #11570 from Microsoft/fixErrorMessageForUmdGlobals
Fix error message for UMD globals
2016-10-12 15:30:54 -07:00
Vladimir Matveev 1b32744925 Merge pull request #11569 from Microsoft/vladima/port-11550
Ports PR #11550 to master
2016-10-12 15:19:52 -07:00
Daniel Rosenwasser fbb9d5b148 Accepted baselines. 2016-10-12 15:09:36 -07:00
Daniel Rosenwasser 7bbaef66ae Change error message for referencing UMD globals from a module. 2016-10-12 15:09:02 -07:00
Kanchalai Tanglertsampan c03b04bd4f Only use localeCompare in CompareStrings 2016-10-12 14:26:30 -07:00
Vladimir Matveev 92b63fa725 Merge pull request #11550 from Microsoft/vladima/generate-protocol
Automatically generate protocol.d.ts by pulling in necessary dependencies
2016-10-12 14:18:19 -07:00
Anders Hejlsberg 4c581def93 Fix bug in scanner 2016-10-12 14:12:47 -07:00
Anders Hejlsberg 7497d81eec Narrow string and number types in equality checks and switch cases 2016-10-12 14:12:32 -07:00
Andrej Baran 1b4c0e331e Add es2017 async conformance 2016-10-12 21:58:25 +02:00
Andrej Baran 5d52c9fd3b Move async/await into separate es2017 transformer 2016-10-12 21:34:00 +02:00
Ron Buckton 994dae70f0 Move import/export elision to ts transform 2016-10-12 12:28:15 -07:00
Andrej Baran f42c791502 Don't use es8. Add es2016 target.
Rename es7 to es2016. Update getDefaultLibFileName for new targets.
2016-10-12 21:28:11 +02:00
Nathan Shively-Sanders ce84cee0f2 Fix lint 2016-10-12 11:53:54 -07:00
Nathan Shively-Sanders dceebcdc47 Refactor getTypeFromTypeLiteral, from PR comments 2016-10-12 11:36:40 -07:00
Bill Ticehurst 4ccb3bb75c Merge pull request #11511 from Microsoft/FixImportListCompletions
Resolve export= module members
2016-10-12 10:48:35 -07:00
Andy Hanson 9b2e6a33cf Respond to PR comments 2016-10-12 10:13:01 -07:00
Nathan Shively-Sanders 3a85312dd8 Remove trailing newline from baseline again 2016-10-12 10:11:33 -07:00
Nathan Shively-Sanders ab1b2bb2a9 Reset baseline line number to the locally incorrect value 2016-10-12 09:20:35 -07:00
Andy Hanson 475125bbb9 Merge branch 'master' into map4 2016-10-12 09:13:36 -07:00
Nathan Shively-Sanders 1728ae1cbc Update baselines with spread string's numeric indexers 2016-10-12 09:01:14 -07:00
Andy 4fde1afb8b Merge pull request #11532 from Microsoft/navtree
Add "navtree" and "navtree-full" server commands
2016-10-12 09:01:11 -07:00
Nathan Shively-Sanders 5a037ad368 Add numeric indexer to strings and remove lint 2016-10-12 09:00:17 -07:00
Nathan Shively-Sanders c5228d3435 Remove space at end of line in baseline 2016-10-12 08:58:49 -07:00
Andy Hanson e8c7224eac Merge branch 'master' into map4 2016-10-12 08:50:49 -07:00
Nathan Shively-Sanders 97dda6e0eb Remove emacs-added newline at end of baseline 2016-10-12 08:40:08 -07:00
Andy Hanson a567dacbe2 Merge branch 'master' into navtree 2016-10-12 08:09:12 -07:00
Andy Hanson f73d906f18 Use a single ShimMap class, and indicate that iteration always yields string keys (which it did before too) 2016-10-12 07:56:05 -07:00
Paul van Brenk 9f73ae5903 Merge pull request #10185 from Microsoft/pvb/codeaction/api
The API to support codefixes
2016-10-11 19:51:18 -07:00
Zhengbo Li 460de66311 Turn on skipLibCheck for js-only inferred project and external project (#11399)
* Turn on skipLibCheck for js-only inferred project and external project

* avoid changing compiler options

* Update tests
2016-10-11 19:19:40 -07:00
Anders Hejlsberg 38278ee078 Fix typo 2016-10-11 18:28:19 -07:00
Bill Ticehurst db5da0b85f Reverted test change 2016-10-11 18:08:54 -07:00
Bill Ticehurst a4e7bff759 Fixed errors with overloaded method exports 2016-10-11 17:51:53 -07:00
Paul van Brenk 7a5cb5f26a Merge branch 'pvb/codeaction/api' into interfaceFixes 2016-10-11 17:37:22 -07:00
Paul van Brenk 28c08fd584 Merge branch 'pvb/codeaction/api' into unusedidentifier 2016-10-11 17:35:54 -07:00
Paul van Brenk 9b98d00155 Merge branch 'master' into pvb/codeaction/api 2016-10-11 17:31:20 -07:00
Paul van Brenk dc516c050a Remove duplicate interface 2016-10-11 17:30:49 -07:00
Nathan Shively-Sanders ce373d904a Revert lib.d.ts error message baseline (unrelated)
It should fixed in a separate PR.
2016-10-11 16:16:36 -07:00
Nathan Shively-Sanders 7417af6f15 Update baselines 2016-10-11 16:15:37 -07:00
Nathan Shively-Sanders 4bc4a008bb Test spread type inference+more index signature tests 2016-10-11 16:14:47 -07:00
Nathan Shively-Sanders 1b3b35f3e0 Type inference for spread types
Also:
1. Fix missing spread index signatures in getTypeFromTypeLiteral
2. Spread adjacent object types during spread type creation.
2016-10-11 16:12:57 -07:00
Nathan Shively-Sanders 4ee4b6b912 Merge branch 'master' into object-spread 2016-10-11 16:06:05 -07:00
Paul van Brenk 05ec512d32 Codefixes for unused variables, properties etc. 2016-10-11 15:04:04 -07:00
Paul van Brenk 1438f9a015 Codefixes for implement interface and change extends to implements. 2016-10-11 14:09:21 -07:00
Kanchalai Tanglertsampan d7e33c90a2 Guard localeCompare function 2016-10-11 13:51:53 -07:00
Andy Hanson 14701e3067 Respond to some PR comments 2016-10-11 13:44:20 -07:00
Zhengbo Li 2671668d86 Remove cached resolvedModule result if the target file was deleted (#11460)
* Add test first for debugging

* Remove cached resolvedModule if the file was deleted

* Move the fix to lsHost

* Properly clean lastDeletedFile

* Remove unused builder API

* move the delete file check into module name valid check
2016-10-11 13:41:04 -07:00
Andy 4fa2e5ed8c Merge pull request #11540 from Microsoft/jsdoc_type_alias
Support JSDoc for type alias
2016-10-11 13:31:10 -07:00
Andy Hanson 413a26b94d Support JSDoc for type alias 2016-10-11 11:14:15 -07:00
Anders Hejlsberg c9e2f95918 Accept new baselines 2016-10-11 10:32:00 -07:00