Skip to content

Commit 5ea7cb5

Browse files
committed
Accept API baseline change
1 parent aaa30f4 commit 5ea7cb5

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,13 +1697,10 @@ declare namespace ts {
16971697
Shared = 2048,
16981698
PreFinally = 4096,
16991699
AfterFinally = 8192,
1700-
Present = 16384,
1701-
Missing = 32768,
17021700
Label = 12,
1703-
Condition = 96,
1704-
OptionalChain = 49152
1701+
Condition = 96
17051702
}
1706-
export type FlowNode = AfterFinallyFlow | PreFinallyFlow | FlowStart | FlowLabel | FlowAssignment | FlowCall | FlowCondition | FlowOptionalChain | FlowSwitchClause | FlowArrayMutation;
1703+
export type FlowNode = AfterFinallyFlow | PreFinallyFlow | FlowStart | FlowLabel | FlowAssignment | FlowCall | FlowCondition | FlowSwitchClause | FlowArrayMutation;
17071704
export interface FlowNodeBase {
17081705
flags: FlowFlags;
17091706
id?: number;
@@ -1736,10 +1733,6 @@ declare namespace ts {
17361733
node: Expression;
17371734
antecedent: FlowNode;
17381735
}
1739-
export interface FlowOptionalChain extends FlowNodeBase {
1740-
node: Expression;
1741-
antecedent: FlowNode;
1742-
}
17431736
export interface FlowSwitchClause extends FlowNodeBase {
17441737
switchStatement: SwitchStatement;
17451738
clauseStart: number;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,13 +1697,10 @@ declare namespace ts {
16971697
Shared = 2048,
16981698
PreFinally = 4096,
16991699
AfterFinally = 8192,
1700-
Present = 16384,
1701-
Missing = 32768,
17021700
Label = 12,
1703-
Condition = 96,
1704-
OptionalChain = 49152
1701+
Condition = 96
17051702
}
1706-
export type FlowNode = AfterFinallyFlow | PreFinallyFlow | FlowStart | FlowLabel | FlowAssignment | FlowCall | FlowCondition | FlowOptionalChain | FlowSwitchClause | FlowArrayMutation;
1703+
export type FlowNode = AfterFinallyFlow | PreFinallyFlow | FlowStart | FlowLabel | FlowAssignment | FlowCall | FlowCondition | FlowSwitchClause | FlowArrayMutation;
17071704
export interface FlowNodeBase {
17081705
flags: FlowFlags;
17091706
id?: number;
@@ -1736,10 +1733,6 @@ declare namespace ts {
17361733
node: Expression;
17371734
antecedent: FlowNode;
17381735
}
1739-
export interface FlowOptionalChain extends FlowNodeBase {
1740-
node: Expression;
1741-
antecedent: FlowNode;
1742-
}
17431736
export interface FlowSwitchClause extends FlowNodeBase {
17441737
switchStatement: SwitchStatement;
17451738
clauseStart: number;

0 commit comments

Comments
 (0)