typescript 5.5.0-dev.20240402 → 5.5.0-dev.20240405
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tsc.js +552 -272
- package/lib/typescript.d.ts +0 -56
- package/lib/typescript.js +1735 -302
- package/package.json +2 -3
package/lib/typescript.d.ts
CHANGED
|
@@ -5793,61 +5793,6 @@ declare namespace ts {
|
|
|
5793
5793
|
readonly moduleSpecifier: Expression;
|
|
5794
5794
|
readonly attributes?: ImportAttributes;
|
|
5795
5795
|
}
|
|
5796
|
-
enum FlowFlags {
|
|
5797
|
-
Unreachable = 1,
|
|
5798
|
-
Start = 2,
|
|
5799
|
-
BranchLabel = 4,
|
|
5800
|
-
LoopLabel = 8,
|
|
5801
|
-
Assignment = 16,
|
|
5802
|
-
TrueCondition = 32,
|
|
5803
|
-
FalseCondition = 64,
|
|
5804
|
-
SwitchClause = 128,
|
|
5805
|
-
ArrayMutation = 256,
|
|
5806
|
-
Call = 512,
|
|
5807
|
-
ReduceLabel = 1024,
|
|
5808
|
-
Referenced = 2048,
|
|
5809
|
-
Shared = 4096,
|
|
5810
|
-
Label = 12,
|
|
5811
|
-
Condition = 96,
|
|
5812
|
-
}
|
|
5813
|
-
type FlowNode = FlowStart | FlowLabel | FlowAssignment | FlowCondition | FlowSwitchClause | FlowArrayMutation | FlowCall | FlowReduceLabel;
|
|
5814
|
-
interface FlowNodeBase {
|
|
5815
|
-
flags: FlowFlags;
|
|
5816
|
-
id?: number;
|
|
5817
|
-
}
|
|
5818
|
-
interface FlowStart extends FlowNodeBase {
|
|
5819
|
-
node?: FunctionExpression | ArrowFunction | MethodDeclaration | GetAccessorDeclaration | SetAccessorDeclaration;
|
|
5820
|
-
}
|
|
5821
|
-
interface FlowLabel extends FlowNodeBase {
|
|
5822
|
-
antecedents: FlowNode[] | undefined;
|
|
5823
|
-
}
|
|
5824
|
-
interface FlowAssignment extends FlowNodeBase {
|
|
5825
|
-
node: Expression | VariableDeclaration | BindingElement;
|
|
5826
|
-
antecedent: FlowNode;
|
|
5827
|
-
}
|
|
5828
|
-
interface FlowCall extends FlowNodeBase {
|
|
5829
|
-
node: CallExpression;
|
|
5830
|
-
antecedent: FlowNode;
|
|
5831
|
-
}
|
|
5832
|
-
interface FlowCondition extends FlowNodeBase {
|
|
5833
|
-
node: Expression;
|
|
5834
|
-
antecedent: FlowNode;
|
|
5835
|
-
}
|
|
5836
|
-
interface FlowSwitchClause extends FlowNodeBase {
|
|
5837
|
-
switchStatement: SwitchStatement;
|
|
5838
|
-
clauseStart: number;
|
|
5839
|
-
clauseEnd: number;
|
|
5840
|
-
antecedent: FlowNode;
|
|
5841
|
-
}
|
|
5842
|
-
interface FlowArrayMutation extends FlowNodeBase {
|
|
5843
|
-
node: CallExpression | BinaryExpression;
|
|
5844
|
-
antecedent: FlowNode;
|
|
5845
|
-
}
|
|
5846
|
-
interface FlowReduceLabel extends FlowNodeBase {
|
|
5847
|
-
target: FlowLabel;
|
|
5848
|
-
antecedents: FlowNode[];
|
|
5849
|
-
antecedent: FlowNode;
|
|
5850
|
-
}
|
|
5851
5796
|
type FlowType = Type | IncompleteType;
|
|
5852
5797
|
interface IncompleteType {
|
|
5853
5798
|
flags: TypeFlags | 0;
|
|
@@ -8040,7 +7985,6 @@ declare namespace ts {
|
|
|
8040
7985
|
}
|
|
8041
7986
|
interface SyntaxList extends Node {
|
|
8042
7987
|
kind: SyntaxKind.SyntaxList;
|
|
8043
|
-
_children: Node[];
|
|
8044
7988
|
}
|
|
8045
7989
|
enum ListFormat {
|
|
8046
7990
|
None = 0,
|