Skip to content

Commit f50226b

Browse files
committed
Accept new baselines
1 parent 01f865d commit f50226b

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

tests/baselines/reference/controlFlowBinaryOrExpression.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ if (isNodeList(sourceObj) || isHTMLCollection(sourceObj)) {
8686
>sourceObj : Symbol(sourceObj, Decl(controlFlowBinaryOrExpression.ts, 23, 3))
8787

8888
sourceObj.length;
89-
>sourceObj.length : Symbol(length, Decl(controlFlowBinaryOrExpression.ts, 10, 27), Decl(controlFlowBinaryOrExpression.ts, 14, 33))
89+
>sourceObj.length : Symbol(NodeList.length, Decl(controlFlowBinaryOrExpression.ts, 10, 27))
9090
>sourceObj : Symbol(sourceObj, Decl(controlFlowBinaryOrExpression.ts, 23, 3))
91-
>length : Symbol(length, Decl(controlFlowBinaryOrExpression.ts, 10, 27), Decl(controlFlowBinaryOrExpression.ts, 14, 33))
91+
>length : Symbol(NodeList.length, Decl(controlFlowBinaryOrExpression.ts, 10, 27))
9292
}
9393

tests/baselines/reference/controlFlowBinaryOrExpression.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ if (isNodeList(sourceObj) || isHTMLCollection(sourceObj)) {
106106

107107
sourceObj.length;
108108
>sourceObj.length : number
109-
>sourceObj : NodeList | HTMLCollection | ({ a: string; } & HTMLCollection)
109+
>sourceObj : NodeList
110110
>length : number
111111
}
112112

tests/baselines/reference/stringLiteralTypesAsTags01.types

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ if (hasKind(x, "A")) {
9999
}
100100
else {
101101
let b = x;
102-
>b : A
103-
>x : A
102+
>b : never
103+
>x : never
104104
}
105105

106106
if (!hasKind(x, "B")) {

tests/baselines/reference/stringLiteralTypesAsTags02.types

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ if (hasKind(x, "A")) {
9393
}
9494
else {
9595
let b = x;
96-
>b : A
97-
>x : A
96+
>b : never
97+
>x : never
9898
}
9999

100100
if (!hasKind(x, "B")) {

tests/baselines/reference/stringLiteralTypesAsTags03.types

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ if (hasKind(x, "A")) {
9696
}
9797
else {
9898
let b = x;
99-
>b : A
100-
>x : A
99+
>b : never
100+
>x : never
101101
}
102102

103103
if (!hasKind(x, "B")) {

0 commit comments

Comments
 (0)