23447 Commits

Author SHA1 Message Date
Daniel Rosenwasser
6ee4989674
Merge pull request #23408 from Microsoft/autoPretty
--pretty-er output by default
2018-04-18 23:10:02 -07:00
Josh Goldberg
d1b044b72f Standardized for --preserveWatchOutput too 2018-04-18 17:08:43 -07:00
Wesley Wigham
238ed7a94c
Visit EOF to collect jsdoc import types (#23521)
* Visit EOF to collect jsdoc import types

* Add flag to prevent jsdoc import types from influencing compilation set
2018-04-18 19:52:34 -04:00
Ron Buckton
1658770015 Trim unused functionality 2018-04-18 16:12:58 -07:00
Armando Aguirre
db08a77c3f Merge branch 'master' into AddVueSupport 2018-04-18 15:51:58 -07:00
Ron Buckton
f7163a0a75
Merge pull request #23466 from falsandtru/lib/Promise.reject
Fix Promise.reject
2018-04-18 15:51:15 -07:00
Ron Buckton
1a3e88c62b
Merge pull request #22772 from falsandtru/lib/promise
Fix Promise interfaces
2018-04-18 15:50:58 -07:00
Anders Hejlsberg
5f0d88096c Update test 2018-04-18 15:43:32 -07:00
Anders Hejlsberg
9e4e215a03 Revise IndexType to have stringsOnly property 2018-04-18 15:43:22 -07:00
Andy
2f6b59eab9
Misc. improvements to addImplementationReferences (#23507)
* Misc. improvements to addImplementationReferences

* Test typeHavingNode.type === typeNode

* Fix bug: refNode.parent -> refNode
2018-04-18 15:24:19 -07:00
Andy
8f1bdc7e18
findAllReferences: Reduce node.getSourceFile() calls (#23524)
* findAllReferences: Reduce node.getSourceFile() calls

* Don't create extra object
2018-04-18 15:24:02 -07:00
falsandtru
55a3c22d43 Revert "Improve PromiseConstructor"
This reverts commit 4318f0d9a0bd17cf4a7c502c3fe57c8538efa5c0.
2018-04-19 05:11:00 +09:00
Armando Aguirre
f17603d318 Addressed PR comments 2018-04-18 12:58:40 -07:00
Andy
b271df1639
Simplify getParentSymbolsOfPropertyAccess (#23513) 2018-04-18 12:58:40 -07:00
Andy
0e9b815956
Improve performance of duplicate check (#23516) 2018-04-18 12:58:16 -07:00
Daniel Rosenwasser
25bb58124b Accepted baselines. 2018-04-18 12:42:59 -07:00
Daniel Rosenwasser
320cb40f12 Address CR feedback. 2018-04-18 12:33:38 -07:00
Sheetal Nandi
56b618b9fc Use indexOf and substr to exclude node_modules and bowerComponents instead of using loop 2018-04-18 11:44:28 -07:00
Sheetal Nandi
b0d6896235
Merge pull request #23438 from Microsoft/typingsFiles
Better handling of typing installer events and consuming typing files in tsserver
2018-04-18 11:34:46 -07:00
Sheetal Nandi
67bb67edf1 Cache canonical global cache's package.json path 2018-04-18 11:22:02 -07:00
Sheetal Nandi
7c5f5249ae Renames as per PR feedback 2018-04-18 11:05:56 -07:00
Anders Hejlsberg
254782c06f Accept new baselines 2018-04-18 11:01:25 -07:00
Anders Hejlsberg
b14d389085 For 'T extends { [x: string]: XXX }' constraint of T[keyof T] is XXX 2018-04-18 11:01:09 -07:00
Andrew Casey
a2f494ab57
Merge pull request #23494 from amcasey/PropagateUnnecessary
Propagage reportsUnnecessary in convertToDiagnosticsWithLinePosition
2018-04-18 09:55:45 -07:00
Andy
afde2b5bf3
MissingDeclaration is only ever a Statement (#23485) 2018-04-18 07:55:57 -07:00
csigs
0bc6470f1d
LEGO: Merge pull request 23497
LEGO: Merge pull request 23497
2018-04-17 21:10:39 -07:00
csigs
81b347d61d LEGO: check in for master to temporary branch. 2018-04-18 04:10:18 +00:00
falsandtru
0303d14a1f Merge remote-tracking branch 'master/master' into lib/promise 2018-04-18 12:05:32 +09:00
falsandtru
4318f0d9a0 Improve PromiseConstructor 2018-04-18 11:45:01 +09:00
Andrew Casey
26c836b12a Propagage reportsUnnecessary in convertToDiagnosticsWithLinePosition 2018-04-17 19:44:52 -07:00
Ron Buckton
8b86423521 Trim unused functionality 2018-04-17 19:39:54 -07:00
falsandtru
563660a83a Revert the change of PromiseLikeConstructor 2018-04-18 11:22:22 +09:00
Ron Buckton
154f09bee9 Reorganize project structure. 2018-04-17 18:42:59 -07:00
Mohamed Hegazy
52192006cf
Merge pull request #20671 from Kingwl/fix-import-not-existed-module
error if import empty object form module not existed
2018-04-17 17:29:07 -07:00
Daniel Rosenwasser
6953fa1732 flags--; 2018-04-17 17:06:50 -07:00
Anders Hejlsberg
02534cca31 Accept new baselines 2018-04-17 16:29:49 -07:00
Anders Hejlsberg
b11be80349 Don't widen unique symbol types during type inference 2018-04-17 16:29:42 -07:00
Nathan Shively-Sanders
e26745f129
Add axios' source to user tests (#23490)
* Add axios' source to user tests

We already have the npm-installed version in order to test their d.ts so
that we don't break their users.

* Just compile lib, plus fix some config lint
2018-04-17 15:20:48 -07:00
Andy
f5101e21c3
Find-all-references: Don't crash on 'typeof import' (#23448)
* Find-all-references: Don't crash on 'typeof import'

* Move `| ImportTypeNode` out of `AnyImportOrReExport`
2018-04-17 15:01:36 -07:00
Ron Buckton
1cbe930e06 Merge branch 'master' into vfs 2018-04-17 14:39:20 -07:00
Sheetal Nandi
db9620d8f0 Use watch recursive directories instead of watchFile for node_modules and bower components 2018-04-17 14:27:21 -07:00
Wesley Wigham
391c0565d7
Use ts-check instead of ts-node to avoid transpilation overhead on gulp startup (#23486) 2018-04-17 17:19:42 -04:00
Sheetal Nandi
d64f2483e4 Update to respond to PR feedback 2018-04-17 14:17:15 -07:00
Daniel Rosenwasser
78e98c3784 Accepted baselines. 2018-04-17 14:15:36 -07:00
Daniel Rosenwasser
4bfb1a3aa1 Avoid breaking change by introducing overloads for 'createTaggedTemplate'/'updateTaggedTemplate'. 2018-04-17 14:09:42 -07:00
Andy
d1fde3786c
Symbol kind for a method on a mapped type should still be 'method' (#23478) 2018-04-17 14:07:59 -07:00
Wesley Wigham
c645f1753f
Update configurePrerelease to not utilize ts internals (#23476)
* update configure nightly to not utilize ts internals

* Nightly -> Prerelease

* Remove alias
2018-04-17 15:42:31 -04:00
Andy
b00e370605
Add '?' in quick info for optional properties/methods (#23480) 2018-04-17 12:42:23 -07:00
Andy
56d83f9572
Rename pushTypePart to pushSymbolKind (#23481) 2018-04-17 12:41:39 -07:00
Benjamin Lichtman
48f98bdd4d
Merge pull request #23452 from uniqueiniquity/normalizeDocumentHighlightsPaths
Normalize document highlights paths
2018-04-17 12:31:00 -07:00