Anders Hejlsberg
a8160de49c
Empty array literal has a non-inferrable element type
2017-11-04 17:26:02 -07:00
Anders Hejlsberg
9619dc14f9
Add tests
2017-11-04 08:08:28 -07:00
Anders Hejlsberg
45c53e0dcc
Check combined modifiers in mappedTypeRelatedTo
2017-11-04 08:08:05 -07:00
Ron Buckton
ed914a8d47
Fix new lint error
2017-11-03 23:53:13 -07:00
Ron Buckton
31c3d444f1
Merge branch 'master' into compareStrings
2017-11-03 23:01:51 -07:00
Andy
8d5b0529b2
Add localizable diagnostic for "Install '{0}'" ( #19651 )
2017-11-03 18:14:21 -07:00
Andy
845c066923
Check for unused locals in commonjs modules ( #19612 )
2017-11-03 17:46:19 -07:00
uniqueiniquity
d2114e1b9e
Rename offsets in tests
2017-11-03 16:14:47 -07:00
Andy
bb7fb7dda9
For getCompletionsAtPosition, require a flag to provide completions with code actions ( #19687 )
...
* For getCompletionsAtPosition, require a flag to provide completions with code actions
* Change name
* Increase API version
* Update API baselines
* Add comment
* Update API baseline
2017-11-03 15:55:31 -07:00
Anders Hejlsberg
f75a1dce88
Merge pull request #19726 from Microsoft/fixNeverTypeCall
...
Disallow calls on never type
2017-11-03 15:39:19 -07:00
Sheetal Nandi
373510c4d9
Handle the script infos that are opened with non rooted disk path
...
Fixes #19588
2017-11-03 15:38:58 -07:00
Andy
d998e97d8c
Apply 'prefer-for-of' tslint rule ( #19721 )
2017-11-03 15:20:35 -07:00
Andy
8b5d8565cf
Add CompletionDetailsFull request ( #19689 )
...
* Add CompletionDetailsFull request
* Update API baselines
* Make internal
2017-11-03 15:11:36 -07:00
Andy
cd9dbe694f
Enable 'only-arrow-functions' lint rule ( #19717 )
2017-11-03 15:08:50 -07:00
Andy
ae87cd2fa9
Enable 'no-implicit-dependencies' lint rule ( #19716 )
2017-11-03 15:08:19 -07:00
Andy
1d7f449a87
Minor cleanups in pathCompletions.ts ( #19685 )
...
* Minor cleanups in pathCompletions.ts
* Update name
2017-11-03 15:06:22 -07:00
Andy
749e151c23
Support path completions inside node_modules ( #19692 )
...
* Support path completions inside node_modules
* Fix: Start searching from current file's directory, not host.getCurrentDirectory()
* Add test for nested node_modules
* Also test in /src/folder/b.ts
2017-11-03 15:05:44 -07:00
Anders Hejlsberg
fc40a3fdcf
Accept new baselines
2017-11-03 14:40:12 -07:00
Anders Hejlsberg
f701b1300f
Add tests
2017-11-03 14:40:06 -07:00
Anders Hejlsberg
9fb06c60a8
Call on never type is not an untyped function call
2017-11-03 14:32:34 -07:00
Sheetal Nandi
668ac10890
Test where script info path and program path differ because of current directory
2017-11-03 11:51:16 -07:00
uniqueiniquity
21093503a8
Respond to CR
2017-11-03 11:19:53 -07:00
Nathan Shively-Sanders
a980d61f86
Add a few tuple tests and update baselines
2017-11-03 09:56:39 -07:00
uniqueiniquity
612616a105
Loosen restrictions on jsdoc completion locations
2017-11-03 09:53:56 -07:00
csigs
78421e87f7
LEGO: Merge pull request 19718
...
LEGO: Merge pull request 19718
2017-11-03 09:10:48 -07:00
Nathan Shively-Sanders
d03d489cb3
Merge branch '6229-known-length-tuples' of https://github.com/tycho01/TypeScript into 6229-known-length-tuples
2017-11-03 09:10:44 -07:00
csigs
adac1f398c
LEGO: check in for master to temporary branch.
2017-11-03 16:10:16 +00:00
Nathan Shively-Sanders
75882db684
Merge branch 'master' into 6229-known-length-tuples
2017-11-03 09:07:38 -07:00
Mohamed Hegazy
1e89e78dd2
Fix incorrect relative module name detection ( #19702 )
2017-11-03 08:59:19 -07:00
Andy
d54ad4b01a
Add refactoring to use default import ( #19659 )
...
* Add refactoring to use default import
* Add localizable description
2017-11-03 08:31:13 -07:00
Andy
cc2a2a79b5
Use NodeFlags to detect nodes in ambient contexts instead of climbing ancestors ( #17831 )
...
* Use NodeFlags to detect nodes in ambient contexts instead of climbing ancestors
* Set context flags on tokens
* Remove 'isDeclarationFile' parameter to 'initializeState' and move to 'parseSourceFileWorker'
* Changes based on code review
* Update API baselines
2017-11-03 08:08:48 -07:00
Anders Hejlsberg
1321d2ae31
Merge pull request #19701 from Microsoft/fixIntersectionTypeInference
...
Fix intersection type inference
2017-11-03 06:52:05 -07:00
Anders Hejlsberg
9bb6a52771
Accept new baselines
2017-11-02 20:13:25 -07:00
Anders Hejlsberg
a7e6c36012
Merge branch 'master' into fixIntersectionTypeInference
2017-11-02 20:07:53 -07:00
Anders Hejlsberg
a8d3cd6dfe
Merge pull request #19697 from Microsoft/fixFreshLiteralsInIntersections
...
Fix fresh literals in intersections
2017-11-02 17:37:55 -07:00
Anders Hejlsberg
add8b492c1
Merge pull request #19671 from Microsoft/nominalInstanceof
...
Improved handling of structurally identical classes
2017-11-02 17:37:23 -07:00
Anders Hejlsberg
63f7029b9a
Add regression tests
2017-11-02 17:31:17 -07:00
Andy
f67a9ba96e
Apply 'interface-name' lint rule ( #19695 )
2017-11-02 17:20:18 -07:00
Andy
c70eae4993
Enable 'no-this-assignment' lint rule ( #19696 )
2017-11-02 17:19:50 -07:00
Andy
fd41521421
Enable 'callable-types' tslint rule ( #19654 )
2017-11-02 17:16:09 -07:00
Anders Hejlsberg
2191b75fc7
Accept new baselines
2017-11-02 17:07:31 -07:00
Anders Hejlsberg
5b0bcecfae
Properly handle intersection types in getUnmatchedProperty
2017-11-02 16:58:41 -07:00
Mohamed Hegazy
2ea723f315
Accept user test baselines
2017-11-02 16:36:57 -07:00
Eugene Timokhov
c3e19ab131
Split ArrayConstructor.from method into 2 overloads #19682 ( #19693 )
2017-11-02 16:17:10 -07:00
Mohamed Hegazy
5979c9a206
Port generated lib files ( #19690 )
2017-11-02 15:11:38 -07:00
Anders Hejlsberg
18b5ade05d
Add regression test
2017-11-02 14:48:34 -07:00
Andy
01ad4f7dfb
Support quick info at function
and =>
locations ( #19669 )
...
* Support quick info at `function` and `=>` locations
* Fixes
2017-11-02 14:47:23 -07:00
Sheetal Nandi
85285bcae1
Merge pull request #19688 from Microsoft/npmInstallAtTypes
...
Handle cases when npm install doesnt get triggered with actual failed lookup location but instead the trigger is some folder in the node_modules
2017-11-02 14:31:08 -07:00
Anders Hejlsberg
6911acf80b
Remove freshness from literal types in intersections
2017-11-02 14:28:46 -07:00
Sheetal Nandi
2d5331edde
Handle cases when npm install doesnt get triggered with the actual file added
...
Fixes #19597
2017-11-02 13:45:50 -07:00