Nathan Shively-Sanders
|
b9fb4cce88
|
Fix quickinfo display of deferred mapped types
|
2018-01-03 16:26:23 -08:00 |
|
Nathan Shively-Sanders
|
9aa5443bbc
|
Fix printing of deferred mapped types' index signatures
|
2018-01-03 16:10:26 -08:00 |
|
Nathan Shively-Sanders
|
81a601bb49
|
Test:deferred mapped types
|
2018-01-03 15:54:43 -08:00 |
|
Nathan Shively-Sanders
|
8616170060
|
Fix printing of deferred mapped types
A deferred mapped type with a source that has an index signature now
prints {} as the type of the index signature. This avoids an infinite
recursion.
|
2018-01-03 15:49:09 -08:00 |
|
Andy
|
7de8c6bcaa
|
For export default foo, use 'foo' for the completion identifier name, not the module name (#20987)
|
2018-01-03 14:56:59 -08:00 |
|
Nathan Shively-Sanders
|
a43adad080
|
Simplify DeferredMappedType construction
|
2018-01-03 14:44:34 -08:00 |
|
Nathan Shively-Sanders
|
35244230d5
|
Add deferred mapped types
This allows index signature inference to be inferred as well.
|
2018-01-03 14:20:14 -08:00 |
|
Andy
|
a33f229d82
|
Support completions contextual types in more places (#20768)
* Support completions contextual types in more places
* Adjust formatting
|
2018-01-03 13:51:33 -08:00 |
|
Ryan Cavanaugh
|
dde7f03914
|
Merge pull request #20854 from mjbvz/global-plugins-for-inferred
Load global plugins for inferred projects
|
2018-01-03 12:39:49 -08:00 |
|
Nathan Shively-Sanders
|
7393433593
|
Merge branch 'master' into defer-inference-for-recursive-mapped-types
|
2018-01-03 12:19:21 -08:00 |
|
Wesley Wigham
|
e0f20334d2
|
Use inference for filling JSX attributes in getJsxElementInstanceType (#20973)
* Add simple type inference for JSX elements
* Small cleanups from PR feedback
|
2018-01-03 11:30:41 -08:00 |
|
Anders Hejlsberg
|
bb23bb2a92
|
Propagate both TypeFlags and ObjectFlags in getSpreadType
|
2018-01-03 11:29:21 -08:00 |
|
Anders Hejlsberg
|
abc8110e9b
|
Merge branch 'master' into conditionalTypes
# Conflicts:
# src/compiler/checker.ts
|
2018-01-03 10:56:45 -08:00 |
|
Nathan Shively-Sanders
|
5539e11b76
|
Merge pull request #20609 from Microsoft/getRootSymbols
Ensure getRootSymbols always works recursively
|
2018-01-03 09:44:27 -08:00 |
|
Andy
|
74b8160430
|
In import fixes, use a ".js" extension if other imports do (#20624)
* In import fixes, use a ".js" extension if other imports do
* Code review
|
2018-01-03 08:20:53 -08:00 |
|
Wesley Wigham
|
29378b2ce2
|
Call back into getTypeOfFuncClassEnumModule in getTypeOfVariableOrParameterOrProperty if valueDeclaration is irregular kind (#20939)
|
2018-01-02 17:19:42 -08:00 |
|
csigs
|
696b0f8d43
|
LEGO: Merge pull request 20978
LEGO: Merge pull request 20978
|
2018-01-02 16:04:31 -08:00 |
|
csigs
|
2002d10a98
|
LEGO: check in for master to temporary branch.
|
2018-01-03 00:04:05 +00:00 |
|
Daniel Rosenwasser
|
0477f91dba
|
Merge pull request #20928 from Microsoft/initializerWithPropertyAccessUseBeforeDeclaration
Check whether we have a class before testing whether we have a super-class
|
2017-12-29 14:47:13 -08:00 |
|
Daniel Rosenwasser
|
b899c4921e
|
Accepted baselines.
|
2017-12-29 12:39:39 -08:00 |
|
Daniel Rosenwasser
|
ea94a3430d
|
Check whether we have a class before testing whether we have a super-class.
|
2017-12-29 12:30:27 -08:00 |
|
Daniel Rosenwasser
|
0d56a0545c
|
Added tests.
|
2017-12-29 12:30:18 -08:00 |
|
csigs
|
679bfd4d50
|
LEGO: Merge pull request 20935
LEGO: Merge pull request 20935
|
2017-12-29 03:11:09 -08:00 |
|
csigs
|
c2770bf26c
|
LEGO: check in for master to temporary branch.
|
2017-12-29 11:10:50 +00:00 |
|
csigs
|
7cddbf5ad7
|
LEGO: Merge pull request 20930
LEGO: Merge pull request 20930
|
2017-12-28 21:10:23 -08:00 |
|
csigs
|
cef91fcedf
|
LEGO: check in for master to temporary branch.
|
2017-12-29 05:10:04 +00:00 |
|
Wesley Wigham
|
ae211983eb
|
Add method signature handler to getTypeOfVariableOrParameterOrProperty (#20825)
|
2017-12-28 19:00:54 -08:00 |
|
Benjamin Lichtman
|
196f1c2086
|
Merge pull request #20910 from uniqueiniquity/allowDynamicNotOpenByClient
Allow dynamic files script info to be created when not opened by client
|
2017-12-28 16:37:19 -08:00 |
|
csigs
|
1ebfac0494
|
LEGO: Merge pull request 20927
LEGO: Merge pull request 20927
|
2017-12-28 15:10:35 -08:00 |
|
csigs
|
e8f811cde1
|
LEGO: check in for master to temporary branch.
|
2017-12-28 23:10:17 +00:00 |
|
Benjamin Lichtman
|
05a6f343f7
|
Update test
|
2017-12-28 13:10:32 -08:00 |
|
Benjamin Lichtman
|
3f82034498
|
Ensure spread attribute formatting options match jsxexpression
|
2017-12-28 12:43:17 -08:00 |
|
Benjamin Lichtman
|
b9ea3471a4
|
Simplify test and add explanatory assertion
|
2017-12-28 11:22:41 -08:00 |
|
Anders Hejlsberg
|
ff4f03c51d
|
Merge pull request #20882 from Microsoft/fixNarrowTypeBySwitch
Fix narrowing of type variable in switch statement
|
2017-12-28 09:22:26 -08:00 |
|
csigs
|
9e9d7d57fa
|
LEGO: Merge pull request 20919
LEGO: Merge pull request 20919
|
2017-12-28 09:10:27 -08:00 |
|
csigs
|
4df797e5ab
|
LEGO: check in for master to temporary branch.
|
2017-12-28 17:10:06 +00:00 |
|
Benjamin Lichtman
|
80b7983d2c
|
Add formatting tests
|
2017-12-27 16:56:03 -08:00 |
|
Benjamin Lichtman
|
ec7a667e4b
|
Update rules to match JSXElement
|
2017-12-27 14:43:23 -08:00 |
|
Benjamin Lichtman
|
90e11f0797
|
Add dynamic file open test
|
2017-12-27 13:44:51 -08:00 |
|
uniqueiniquity
|
d4dd930f2e
|
Allow dynamic files script info to be created when not opened by client
|
2017-12-27 11:12:56 -08:00 |
|
csigs
|
b15ecfc51c
|
LEGO: Merge pull request 20892
LEGO: Merge pull request 20892
|
2017-12-25 09:10:35 -08:00 |
|
csigs
|
8a19d85bf4
|
LEGO: check in for master to temporary branch.
|
2017-12-25 17:10:15 +00:00 |
|
Herrington Darkholme
|
303786a3b8
|
fix #20018, allow skip constraint when merging interfaces
|
2017-12-24 17:05:05 +08:00 |
|
Anders Hejlsberg
|
d1befefab9
|
Accept new baselines
|
2017-12-23 19:28:20 -08:00 |
|
Anders Hejlsberg
|
319ad71b15
|
Add regression test
|
2017-12-23 19:28:13 -08:00 |
|
Anders Hejlsberg
|
5d3ecaebad
|
Fix narrowTypeBySwitchOnDiscriminant function
|
2017-12-23 19:12:49 -08:00 |
|
csigs
|
46262405bc
|
LEGO: Merge pull request 20879
LEGO: Merge pull request 20879
|
2017-12-23 09:10:23 -08:00 |
|
csigs
|
cbc034ad67
|
LEGO: check in for master to temporary branch.
|
2017-12-23 17:10:04 +00:00 |
|
csigs
|
8118cc7629
|
LEGO: Merge pull request 20874
LEGO: Merge pull request 20874
|
2017-12-23 03:11:00 -08:00 |
|
csigs
|
874dc7bdde
|
LEGO: check in for master to temporary branch.
|
2017-12-23 11:10:40 +00:00 |
|