@systemfsoftware/stryker-js 12.1.0 → 13.0.0
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/CHANGELOG.md +71 -0
- package/dist/Run.schema-Bj7b_FMA.mjs +269 -0
- package/dist/{Run.schema-BnUKGQjA.d.mts → Run.schema-BlvpjFjJ.d.mts} +139 -61
- package/dist/{RunEnvironment.service-BaTBH0mI.d.mts → RunEnvironment.service-BJAsZsdn.d.mts} +124 -64
- package/dist/config.d.mts +3 -9
- package/dist/config.mjs +1 -1
- package/dist/{Run.schema-BaK_pxuK.mjs → dist-BscHZmXN.mjs} +1176 -1361
- package/dist/events.d.mts +2 -2
- package/dist/events.mjs +2 -2
- package/dist/{index-CKd1sAni.d.mts → index-C09A80iv.d.mts} +1633 -1312
- package/dist/index.d.mts +169 -190
- package/dist/index.mjs +6 -5
- package/dist/main.mjs +30960 -27502
- package/dist/merge-config-DA_v1hGx.mjs +63 -0
- package/dist/{stryker-config.schema-VVxHqsAv.d.mts → merge-config-X_AxYxMY.d.mts} +9 -2
- package/dist/promises.d.mts +3 -3
- package/dist/promises.mjs +4 -7
- package/dist/{run-stages.cell-RwTUyNX9.mjs → run-stages.cell-BN__EOCk.mjs} +3315 -3255
- package/package.json +7 -8
- package/dist/merge-config-ByZJPeQZ.mjs +0 -32
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Handle, Workflow } from "@systemfsoftware/effect-cell-types";
|
|
2
2
|
import * as Option$1 from "effect/Option";
|
|
3
|
-
import "effect/Result";
|
|
3
|
+
import * as Result from "effect/Result";
|
|
4
4
|
import * as S from "effect/Schema";
|
|
5
5
|
import * as Effect$1 from "effect/Effect";
|
|
6
|
+
import * as Arr from "effect/Array";
|
|
6
7
|
import * as Context from "effect/Context";
|
|
7
8
|
import { Schema } from "effect";
|
|
8
9
|
import * as Rpc from "effect/unstable/rpc/Rpc";
|
|
@@ -14,7 +15,7 @@ import { StandardSchemaV1 } from "effect/StandardSchema";
|
|
|
14
15
|
declare interface AccessorProperty$1$1 extends Span$1$1 {
|
|
15
16
|
type: AccessorPropertyType$1;
|
|
16
17
|
decorators: Array<Decorator$1$1>;
|
|
17
|
-
key: PropertyKey_2;
|
|
18
|
+
key: PropertyKey_2$1;
|
|
18
19
|
typeAnnotation?: TSTypeAnnotation$1$1 | null;
|
|
19
20
|
value: Expression$1$1 | null;
|
|
20
21
|
computed: boolean;
|
|
@@ -98,7 +99,7 @@ declare interface AssignmentTargetPropertyIdentifier$1 extends Span$1$1 {
|
|
|
98
99
|
declare interface AssignmentTargetPropertyProperty$1 extends Span$1$1 {
|
|
99
100
|
type: "Property";
|
|
100
101
|
kind: "init";
|
|
101
|
-
key: PropertyKey_2;
|
|
102
|
+
key: PropertyKey_2$1;
|
|
102
103
|
value: AssignmentTargetMaybeDefault$1;
|
|
103
104
|
method: false;
|
|
104
105
|
shorthand: false;
|
|
@@ -156,7 +157,7 @@ declare type BindingPattern$1$1 = BindingIdentifier$1$1 | ObjectPattern$1 | Arra
|
|
|
156
157
|
declare interface BindingProperty$1$1 extends Span$1$1 {
|
|
157
158
|
type: "Property";
|
|
158
159
|
kind: "init";
|
|
159
|
-
key: PropertyKey_2;
|
|
160
|
+
key: PropertyKey_2$1;
|
|
160
161
|
value: BindingPattern$1$1;
|
|
161
162
|
method: false;
|
|
162
163
|
shorthand: boolean;
|
|
@@ -401,7 +402,7 @@ declare interface IfStatement$1$1 extends Span$1$1 {
|
|
|
401
402
|
}
|
|
402
403
|
declare interface Ignorer$1 {
|
|
403
404
|
readonly name: string;
|
|
404
|
-
shouldIgnore(node: Node_2, ancestors: readonly Node_2[]): string | undefined;
|
|
405
|
+
shouldIgnore(node: Node_2$1, ancestors: readonly Node_2$1[]): string | undefined;
|
|
405
406
|
}
|
|
406
407
|
declare interface ImportAttribute$1$1 extends Span$1$1 {
|
|
407
408
|
type: "ImportAttribute";
|
|
@@ -586,7 +587,7 @@ declare interface MetaProperty$1$1 extends Span$1$1 {
|
|
|
586
587
|
declare interface MethodDefinition$1$1 extends Span$1$1 {
|
|
587
588
|
type: MethodDefinitionType$1;
|
|
588
589
|
decorators: Array<Decorator$1$1>;
|
|
589
|
-
key: PropertyKey_2;
|
|
590
|
+
key: PropertyKey_2$1;
|
|
590
591
|
value: Function$1$1;
|
|
591
592
|
kind: MethodDefinitionKind$1;
|
|
592
593
|
computed: boolean;
|
|
@@ -609,7 +610,7 @@ declare interface NewExpression$1$1 extends Span$1$1 {
|
|
|
609
610
|
parent?: Node$1$1;
|
|
610
611
|
}
|
|
611
612
|
declare type Node$1$1 = Program$1$1 | IdentifierName$1$1 | IdentifierReference$1$1 | BindingIdentifier$1$1 | LabelIdentifier$1$1 | ThisExpression$1$1 | ArrayExpression$1$1 | ObjectExpression$1$1 | ObjectProperty$1$1 | TemplateLiteral$1$1 | TaggedTemplateExpression$1$1 | TemplateElement$1$1 | ComputedMemberExpression$1 | StaticMemberExpression$1$1 | PrivateFieldExpression$1 | CallExpression$1$1 | NewExpression$1$1 | MetaProperty$1$1 | SpreadElement$1$1 | UpdateExpression$1$1 | UnaryExpression$1$1 | BinaryExpression$1$1 | PrivateInExpression$1$1 | LogicalExpression$1$1 | ConditionalExpression$1$1 | AssignmentExpression$1$1 | ArrayAssignmentTarget$1 | ObjectAssignmentTarget$1 | AssignmentTargetRest$1 | AssignmentTargetWithDefault$1 | AssignmentTargetPropertyIdentifier$1 | AssignmentTargetPropertyProperty$1 | SequenceExpression$1$1 | Super$1$1 | AwaitExpression$1 | ChainExpression$1$1 | ParenthesizedExpression$1 | Directive$1 | Hashbang$1 | BlockStatement$1$1 | VariableDeclaration$1$1 | VariableDeclarator$1$1 | EmptyStatement$1$1 | ExpressionStatement$1$1 | IfStatement$1$1 | DoWhileStatement$1$1 | WhileStatement$1$1 | ForStatement$1$1 | ForInStatement$1$1 | ForOfStatement$1$1 | ContinueStatement$1$1 | BreakStatement$1$1 | ReturnStatement$1$1 | WithStatement$1$1 | SwitchStatement$1$1 | SwitchCase$1$1 | LabeledStatement$1$1 | ThrowStatement$1$1 | TryStatement$1$1 | CatchClause$1$1 | DebuggerStatement$1 | AssignmentPattern$1$1 | ObjectPattern$1 | BindingProperty$1$1 | ArrayPattern$1$1 | BindingRestElement$1$1 | Function$1$1 | FunctionBody$1 | ArrowFunctionExpression$1$1 | YieldExpression$1$1 | Class$1$1 | ClassBody$1$1 | MethodDefinition$1$1 | PropertyDefinition$1$1 | PrivateIdentifier$1$1 | StaticBlock$1$1 | AccessorProperty$1$1 | ImportExpression$1$1 | ImportDeclaration$1$1 | ImportSpecifier$1 | ImportDefaultSpecifier$1 | ImportNamespaceSpecifier$1 | ImportAttribute$1$1 | ExportNamedDeclaration$1$1 | ExportDefaultDeclaration$1$1 | ExportAllDeclaration$1$1 | ExportSpecifier$1 | V8IntrinsicExpression$1 | BooleanLiteral$1$1 | NullLiteral$1$1 | NumericLiteral$1$1 | StringLiteral$1$1 | BigIntLiteral$1$1 | RegExpLiteral$1$1 | JSXElement$1$1 | JSXOpeningElement$1$1 | JSXClosingElement$1 | JSXFragment$1$1 | JSXOpeningFragment$1 | JSXClosingFragment$1 | JSXNamespacedName$1$1 | JSXMemberExpression$1$1 | JSXExpressionContainer$1$1 | JSXEmptyExpression$1 | JSXAttribute$1$1 | JSXSpreadAttribute$1$1 | JSXIdentifier$1$1 | JSXSpreadChild$1$1 | JSXText$1$1 | TSThisParameter$1 | TSEnumDeclaration$1$1 | TSEnumBody$1 | TSEnumMember$1 | TSTypeAnnotation$1$1 | TSLiteralType$1$1 | TSConditionalType$1$1 | TSUnionType$1$1 | TSIntersectionType$1$1 | TSParenthesizedType$1$1 | TSTypeOperator$1$1 | TSArrayType$1$1 | TSIndexedAccessType$1$1 | TSTupleType$1$1 | TSNamedTupleMember$1$1 | TSOptionalType$1$1 | TSRestType$1$1 | TSAnyKeyword$1 | TSStringKeyword$1 | TSBooleanKeyword$1 | TSNumberKeyword$1 | TSNeverKeyword$1 | TSIntrinsicKeyword$1 | TSUnknownKeyword$1 | TSNullKeyword$1 | TSUndefinedKeyword$1 | TSVoidKeyword$1 | TSSymbolKeyword$1 | TSThisType$1 | TSObjectKeyword$1 | TSBigIntKeyword$1 | TSTypeReference$1$1 | TSQualifiedName$1$1 | TSTypeParameterInstantiation$1$1 | TSTypeParameter$1 | TSTypeParameterDeclaration$1$1 | TSTypeAliasDeclaration$1$1 | TSClassImplements$1 | TSInterfaceDeclaration$1$1 | TSInterfaceBody$1$1 | TSPropertySignature$1$1 | TSIndexSignature$1$1 | TSCallSignatureDeclaration$1$1 | TSMethodSignature$1$1 | TSConstructSignatureDeclaration$1$1 | TSIndexSignatureName$1 | TSInterfaceHeritage$1 | TSTypePredicate$1$1 | TSModuleDeclaration$1$1 | TSGlobalDeclaration$1 | TSModuleBlock$1$1 | TSTypeLiteral$1 | TSInferType$1$1 | TSTypeQuery$1$1 | TSImportType$1$1 | TSImportTypeQualifiedName$1 | TSFunctionType$1$1 | TSConstructorType$1$1 | TSMappedType$1$1 | TSTemplateLiteralType$1$1 | TSAsExpression$1$1 | TSSatisfiesExpression$1$1 | TSTypeAssertion$1$1 | TSImportEqualsDeclaration$1$1 | TSExternalModuleReference$1 | TSNonNullExpression$1$1 | Decorator$1$1 | TSExportAssignment$1$1 | TSNamespaceExportDeclaration$1$1 | TSInstantiationExpression$1$1 | JSDocNullableType$1$1 | JSDocNonNullableType$1$1 | JSDocUnknownType$1 | ParamPattern$1$1;
|
|
612
|
-
declare type Node_2 = Simplify$1<Built$1<Node$1$1>> | Node$1$1;
|
|
613
|
+
declare type Node_2$1 = Simplify$1<Built$1<Node$1$1>> | Node$1$1;
|
|
613
614
|
declare interface NullLiteral$1$1 extends Span$1$1 {
|
|
614
615
|
type: "Literal";
|
|
615
616
|
value: null;
|
|
@@ -646,7 +647,7 @@ declare interface ObjectPattern$1 extends Span$1$1 {
|
|
|
646
647
|
declare interface ObjectProperty$1$1 extends Span$1$1 {
|
|
647
648
|
type: "Property";
|
|
648
649
|
kind: PropertyKind$1;
|
|
649
|
-
key: PropertyKey_2;
|
|
650
|
+
key: PropertyKey_2$1;
|
|
650
651
|
value: Expression$1$1;
|
|
651
652
|
method: boolean;
|
|
652
653
|
shorthand: boolean;
|
|
@@ -692,7 +693,7 @@ declare type Program$2 = Simplify$1<Built$1<Program$1$1>>;
|
|
|
692
693
|
declare interface PropertyDefinition$1$1 extends Span$1$1 {
|
|
693
694
|
type: PropertyDefinitionType$1;
|
|
694
695
|
decorators: Array<Decorator$1$1>;
|
|
695
|
-
key: PropertyKey_2;
|
|
696
|
+
key: PropertyKey_2$1;
|
|
696
697
|
typeAnnotation?: TSTypeAnnotation$1$1 | null;
|
|
697
698
|
value: Expression$1$1 | null;
|
|
698
699
|
computed: boolean;
|
|
@@ -706,7 +707,7 @@ declare interface PropertyDefinition$1$1 extends Span$1$1 {
|
|
|
706
707
|
parent?: Node$1$1;
|
|
707
708
|
}
|
|
708
709
|
declare type PropertyDefinitionType$1 = "PropertyDefinition" | "TSAbstractPropertyDefinition";
|
|
709
|
-
declare type PropertyKey_2 = IdentifierName$1$1 | PrivateIdentifier$1$1 | Expression$1$1;
|
|
710
|
+
declare type PropertyKey_2$1 = IdentifierName$1$1 | PrivateIdentifier$1$1 | Expression$1$1;
|
|
710
711
|
declare type PropertyKind$1 = "init" | "get" | "set";
|
|
711
712
|
declare interface RegExpLiteral$1$1 extends Span$1$1 {
|
|
712
713
|
type: "Literal";
|
|
@@ -1027,7 +1028,7 @@ declare interface TSMappedType$1$1 extends Span$1$1 {
|
|
|
1027
1028
|
declare type TSMappedTypeModifierOperator$1 = true | "+" | "-";
|
|
1028
1029
|
declare interface TSMethodSignature$1$1 extends Span$1$1 {
|
|
1029
1030
|
type: "TSMethodSignature";
|
|
1030
|
-
key: PropertyKey_2;
|
|
1031
|
+
key: PropertyKey_2$1;
|
|
1031
1032
|
computed: boolean;
|
|
1032
1033
|
optional: boolean;
|
|
1033
1034
|
kind: TSMethodSignatureKind$1;
|
|
@@ -1114,7 +1115,7 @@ declare interface TSPropertySignature$1$1 extends Span$1$1 {
|
|
|
1114
1115
|
computed: boolean;
|
|
1115
1116
|
optional: boolean;
|
|
1116
1117
|
readonly: boolean;
|
|
1117
|
-
key: PropertyKey_2;
|
|
1118
|
+
key: PropertyKey_2$1;
|
|
1118
1119
|
typeAnnotation: TSTypeAnnotation$1$1 | null;
|
|
1119
1120
|
accessibility: null;
|
|
1120
1121
|
static: false;
|
|
@@ -1364,241 +1365,80 @@ declare interface ScriptRegion {
|
|
|
1364
1365
|
//#region ../stryker-js-instrumenter/dist/index.d.mts
|
|
1365
1366
|
//#endregion
|
|
1366
1367
|
//#region ../ignorers/interface/dist/index.d.ts
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
body: Array<Directive | Statement$1>;
|
|
1372
|
-
sourceType: ModuleKind;
|
|
1373
|
-
hashbang: Hashbang | null;
|
|
1374
|
-
parent?: null;
|
|
1375
|
-
}
|
|
1376
|
-
type Expression$1 = BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | IdentifierReference$1 | Super$1 | ArrayExpression$1 | ArrowFunctionExpression$1 | AssignmentExpression$1 | AwaitExpression | BinaryExpression$1 | CallExpression$1 | ChainExpression$1 | Class$1 | ConditionalExpression$1 | Function$1 | ImportExpression$1 | LogicalExpression$1 | NewExpression$1 | ObjectExpression$1 | ParenthesizedExpression | SequenceExpression$1 | TaggedTemplateExpression$1 | ThisExpression$1 | UnaryExpression$1 | UpdateExpression$1 | YieldExpression$1 | PrivateInExpression$1 | MetaProperty$1 | JSXElement$1 | JSXFragment$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSNonNullExpression$1 | TSInstantiationExpression$1 | V8IntrinsicExpression | MemberExpression$1;
|
|
1377
|
-
interface IdentifierName$1 extends Span$1 {
|
|
1378
|
-
type: "Identifier";
|
|
1379
|
-
decorators?: [];
|
|
1380
|
-
name: string;
|
|
1381
|
-
optional?: false;
|
|
1382
|
-
typeAnnotation?: null;
|
|
1383
|
-
parent?: Node$1;
|
|
1384
|
-
}
|
|
1385
|
-
interface IdentifierReference$1 extends Span$1 {
|
|
1386
|
-
type: "Identifier";
|
|
1387
|
-
decorators?: [];
|
|
1388
|
-
name: string;
|
|
1389
|
-
optional?: false;
|
|
1390
|
-
typeAnnotation?: null;
|
|
1391
|
-
parent?: Node$1;
|
|
1392
|
-
}
|
|
1393
|
-
interface BindingIdentifier$1 extends Span$1 {
|
|
1394
|
-
type: "Identifier";
|
|
1395
|
-
decorators?: [];
|
|
1396
|
-
name: string;
|
|
1397
|
-
optional?: false;
|
|
1368
|
+
declare interface AccessorProperty$1 extends Span$1 {
|
|
1369
|
+
type: AccessorPropertyType;
|
|
1370
|
+
decorators: Array<Decorator$1>;
|
|
1371
|
+
key: PropertyKey_2;
|
|
1398
1372
|
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1373
|
+
value: Expression$1 | null;
|
|
1374
|
+
computed: boolean;
|
|
1375
|
+
static: boolean;
|
|
1376
|
+
override?: boolean;
|
|
1377
|
+
definite?: boolean;
|
|
1378
|
+
accessibility?: TSAccessibility | null;
|
|
1379
|
+
declare?: false;
|
|
1380
|
+
optional?: false;
|
|
1381
|
+
readonly?: false;
|
|
1399
1382
|
parent?: Node$1;
|
|
1400
1383
|
}
|
|
1401
|
-
|
|
1402
|
-
|
|
1384
|
+
declare type AccessorPropertyType = "AccessorProperty" | "TSAbstractAccessorProperty";
|
|
1385
|
+
declare type Argument$1 = SpreadElement$1 | Expression$1;
|
|
1386
|
+
declare interface ArrayAssignmentTarget extends Span$1 {
|
|
1387
|
+
type: "ArrayPattern";
|
|
1403
1388
|
decorators?: [];
|
|
1404
|
-
|
|
1389
|
+
elements: Array<AssignmentTargetMaybeDefault | AssignmentTargetRest | null>;
|
|
1405
1390
|
optional?: false;
|
|
1406
1391
|
typeAnnotation?: null;
|
|
1407
1392
|
parent?: Node$1;
|
|
1408
1393
|
}
|
|
1409
|
-
interface
|
|
1410
|
-
type: "ThisExpression";
|
|
1411
|
-
parent?: Node$1;
|
|
1412
|
-
}
|
|
1413
|
-
interface ArrayExpression$1 extends Span$1 {
|
|
1394
|
+
declare interface ArrayExpression$1 extends Span$1 {
|
|
1414
1395
|
type: "ArrayExpression";
|
|
1415
1396
|
elements: Array<ArrayExpressionElement>;
|
|
1416
1397
|
parent?: Node$1;
|
|
1417
1398
|
}
|
|
1418
|
-
type ArrayExpressionElement = SpreadElement$1 | null | Expression$1;
|
|
1419
|
-
interface
|
|
1420
|
-
type: "
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
}
|
|
1424
|
-
type ObjectPropertyKind = ObjectProperty$1 | SpreadElement$1;
|
|
1425
|
-
interface ObjectProperty$1 extends Span$1 {
|
|
1426
|
-
type: "Property";
|
|
1427
|
-
kind: PropertyKind;
|
|
1428
|
-
key: PropertyKey$1;
|
|
1429
|
-
value: Expression$1;
|
|
1430
|
-
method: boolean;
|
|
1431
|
-
shorthand: boolean;
|
|
1432
|
-
computed: boolean;
|
|
1399
|
+
declare type ArrayExpressionElement = SpreadElement$1 | null | Expression$1;
|
|
1400
|
+
declare interface ArrayPattern$1 extends Span$1 {
|
|
1401
|
+
type: "ArrayPattern";
|
|
1402
|
+
decorators?: [];
|
|
1403
|
+
elements: Array<BindingPattern$1 | BindingRestElement$1 | null>;
|
|
1433
1404
|
optional?: false;
|
|
1405
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1434
1406
|
parent?: Node$1;
|
|
1435
1407
|
}
|
|
1436
|
-
|
|
1437
|
-
type
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
tag: Expression$1;
|
|
1447
|
-
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1448
|
-
quasi: TemplateLiteral$1;
|
|
1449
|
-
parent?: Node$1;
|
|
1450
|
-
}
|
|
1451
|
-
interface TemplateElement$1 extends Span$1 {
|
|
1452
|
-
type: "TemplateElement";
|
|
1453
|
-
value: TemplateElementValue;
|
|
1454
|
-
tail: boolean;
|
|
1455
|
-
parent?: Node$1;
|
|
1456
|
-
}
|
|
1457
|
-
interface TemplateElementValue {
|
|
1458
|
-
raw: string;
|
|
1459
|
-
cooked: string | null;
|
|
1460
|
-
}
|
|
1461
|
-
type MemberExpression$1 = ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression;
|
|
1462
|
-
interface ComputedMemberExpression extends Span$1 {
|
|
1463
|
-
type: "MemberExpression";
|
|
1464
|
-
object: Expression$1;
|
|
1465
|
-
property: Expression$1;
|
|
1466
|
-
optional: boolean;
|
|
1467
|
-
computed: true;
|
|
1468
|
-
parent?: Node$1;
|
|
1469
|
-
}
|
|
1470
|
-
interface StaticMemberExpression$1 extends Span$1 {
|
|
1471
|
-
type: "MemberExpression";
|
|
1472
|
-
object: Expression$1;
|
|
1473
|
-
property: IdentifierName$1;
|
|
1474
|
-
optional: boolean;
|
|
1475
|
-
computed: false;
|
|
1476
|
-
parent?: Node$1;
|
|
1477
|
-
}
|
|
1478
|
-
interface PrivateFieldExpression extends Span$1 {
|
|
1479
|
-
type: "MemberExpression";
|
|
1480
|
-
object: Expression$1;
|
|
1481
|
-
property: PrivateIdentifier$1;
|
|
1482
|
-
optional: boolean;
|
|
1483
|
-
computed: false;
|
|
1484
|
-
parent?: Node$1;
|
|
1485
|
-
}
|
|
1486
|
-
interface CallExpression$1 extends Span$1 {
|
|
1487
|
-
type: "CallExpression";
|
|
1488
|
-
callee: Expression$1;
|
|
1489
|
-
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1490
|
-
arguments: Array<Argument$1>;
|
|
1491
|
-
optional: boolean;
|
|
1492
|
-
parent?: Node$1;
|
|
1493
|
-
}
|
|
1494
|
-
interface NewExpression$1 extends Span$1 {
|
|
1495
|
-
type: "NewExpression";
|
|
1496
|
-
callee: Expression$1;
|
|
1497
|
-
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1498
|
-
arguments: Array<Argument$1>;
|
|
1499
|
-
parent?: Node$1;
|
|
1500
|
-
}
|
|
1501
|
-
interface MetaProperty$1 extends Span$1 {
|
|
1502
|
-
type: "MetaProperty";
|
|
1503
|
-
meta: IdentifierName$1;
|
|
1504
|
-
property: IdentifierName$1;
|
|
1505
|
-
parent?: Node$1;
|
|
1506
|
-
}
|
|
1507
|
-
interface SpreadElement$1 extends Span$1 {
|
|
1508
|
-
type: "SpreadElement";
|
|
1509
|
-
argument: Expression$1;
|
|
1510
|
-
parent?: Node$1;
|
|
1511
|
-
}
|
|
1512
|
-
type Argument$1 = SpreadElement$1 | Expression$1;
|
|
1513
|
-
interface UpdateExpression$1 extends Span$1 {
|
|
1514
|
-
type: "UpdateExpression";
|
|
1515
|
-
operator: UpdateOperator;
|
|
1516
|
-
prefix: boolean;
|
|
1517
|
-
argument: SimpleAssignmentTarget$1;
|
|
1518
|
-
parent?: Node$1;
|
|
1519
|
-
}
|
|
1520
|
-
interface UnaryExpression$1 extends Span$1 {
|
|
1521
|
-
type: "UnaryExpression";
|
|
1522
|
-
operator: UnaryOperator;
|
|
1523
|
-
argument: Expression$1;
|
|
1524
|
-
prefix: true;
|
|
1525
|
-
parent?: Node$1;
|
|
1526
|
-
}
|
|
1527
|
-
interface BinaryExpression$1 extends Span$1 {
|
|
1528
|
-
type: "BinaryExpression";
|
|
1529
|
-
left: Expression$1;
|
|
1530
|
-
operator: BinaryOperator;
|
|
1531
|
-
right: Expression$1;
|
|
1532
|
-
parent?: Node$1;
|
|
1533
|
-
}
|
|
1534
|
-
interface PrivateInExpression$1 extends Span$1 {
|
|
1535
|
-
type: "BinaryExpression";
|
|
1536
|
-
left: PrivateIdentifier$1;
|
|
1537
|
-
operator: "in";
|
|
1538
|
-
right: Expression$1;
|
|
1539
|
-
parent?: Node$1;
|
|
1540
|
-
}
|
|
1541
|
-
interface LogicalExpression$1 extends Span$1 {
|
|
1542
|
-
type: "LogicalExpression";
|
|
1543
|
-
left: Expression$1;
|
|
1544
|
-
operator: LogicalOperator;
|
|
1545
|
-
right: Expression$1;
|
|
1546
|
-
parent?: Node$1;
|
|
1547
|
-
}
|
|
1548
|
-
interface ConditionalExpression$1 extends Span$1 {
|
|
1549
|
-
type: "ConditionalExpression";
|
|
1550
|
-
test: Expression$1;
|
|
1551
|
-
consequent: Expression$1;
|
|
1552
|
-
alternate: Expression$1;
|
|
1408
|
+
declare interface ArrowFunctionExpression$1 extends Span$1 {
|
|
1409
|
+
type: "ArrowFunctionExpression";
|
|
1410
|
+
expression: boolean;
|
|
1411
|
+
async: boolean;
|
|
1412
|
+
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
1413
|
+
params: ParamPattern$1[];
|
|
1414
|
+
returnType?: TSTypeAnnotation$1 | null;
|
|
1415
|
+
body: FunctionBody | Expression$1;
|
|
1416
|
+
id: null;
|
|
1417
|
+
generator: false;
|
|
1553
1418
|
parent?: Node$1;
|
|
1554
1419
|
}
|
|
1555
|
-
interface AssignmentExpression$1 extends Span$1 {
|
|
1420
|
+
declare interface AssignmentExpression$1 extends Span$1 {
|
|
1556
1421
|
type: "AssignmentExpression";
|
|
1557
1422
|
operator: AssignmentOperator;
|
|
1558
1423
|
left: AssignmentTarget;
|
|
1559
1424
|
right: Expression$1;
|
|
1560
1425
|
parent?: Node$1;
|
|
1561
1426
|
}
|
|
1562
|
-
type
|
|
1563
|
-
|
|
1564
|
-
type AssignmentTargetPattern = ArrayAssignmentTarget | ObjectAssignmentTarget;
|
|
1565
|
-
interface ArrayAssignmentTarget extends Span$1 {
|
|
1566
|
-
type: "ArrayPattern";
|
|
1567
|
-
decorators?: [];
|
|
1568
|
-
elements: Array<AssignmentTargetMaybeDefault | AssignmentTargetRest | null>;
|
|
1569
|
-
optional?: false;
|
|
1570
|
-
typeAnnotation?: null;
|
|
1571
|
-
parent?: Node$1;
|
|
1572
|
-
}
|
|
1573
|
-
interface ObjectAssignmentTarget extends Span$1 {
|
|
1574
|
-
type: "ObjectPattern";
|
|
1575
|
-
decorators?: [];
|
|
1576
|
-
properties: Array<AssignmentTargetProperty | AssignmentTargetRest>;
|
|
1577
|
-
optional?: false;
|
|
1578
|
-
typeAnnotation?: null;
|
|
1579
|
-
parent?: Node$1;
|
|
1580
|
-
}
|
|
1581
|
-
interface AssignmentTargetRest extends Span$1 {
|
|
1582
|
-
type: "RestElement";
|
|
1583
|
-
decorators?: [];
|
|
1584
|
-
argument: AssignmentTarget;
|
|
1585
|
-
optional?: false;
|
|
1586
|
-
typeAnnotation?: null;
|
|
1587
|
-
value?: null;
|
|
1588
|
-
parent?: Node$1;
|
|
1589
|
-
}
|
|
1590
|
-
type AssignmentTargetMaybeDefault = AssignmentTargetWithDefault | AssignmentTarget;
|
|
1591
|
-
interface AssignmentTargetWithDefault extends Span$1 {
|
|
1427
|
+
declare type AssignmentOperator = "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "**=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "||=" | "&&=" | "??=";
|
|
1428
|
+
declare interface AssignmentPattern$1 extends Span$1 {
|
|
1592
1429
|
type: "AssignmentPattern";
|
|
1593
1430
|
decorators?: [];
|
|
1594
|
-
left:
|
|
1431
|
+
left: BindingPattern$1;
|
|
1595
1432
|
right: Expression$1;
|
|
1596
1433
|
optional?: false;
|
|
1597
1434
|
typeAnnotation?: null;
|
|
1598
1435
|
parent?: Node$1;
|
|
1599
1436
|
}
|
|
1600
|
-
type
|
|
1601
|
-
|
|
1437
|
+
declare type AssignmentTarget = SimpleAssignmentTarget$1 | AssignmentTargetPattern;
|
|
1438
|
+
declare type AssignmentTargetMaybeDefault = AssignmentTargetWithDefault | AssignmentTarget;
|
|
1439
|
+
declare type AssignmentTargetPattern = ArrayAssignmentTarget | ObjectAssignmentTarget;
|
|
1440
|
+
declare type AssignmentTargetProperty = AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty;
|
|
1441
|
+
declare interface AssignmentTargetPropertyIdentifier extends Span$1 {
|
|
1602
1442
|
type: "Property";
|
|
1603
1443
|
kind: "init";
|
|
1604
1444
|
key: IdentifierReference$1;
|
|
@@ -1609,10 +1449,10 @@ interface AssignmentTargetPropertyIdentifier extends Span$1 {
|
|
|
1609
1449
|
optional?: false;
|
|
1610
1450
|
parent?: Node$1;
|
|
1611
1451
|
}
|
|
1612
|
-
interface AssignmentTargetPropertyProperty extends Span$1 {
|
|
1452
|
+
declare interface AssignmentTargetPropertyProperty extends Span$1 {
|
|
1613
1453
|
type: "Property";
|
|
1614
1454
|
kind: "init";
|
|
1615
|
-
key:
|
|
1455
|
+
key: PropertyKey_2;
|
|
1616
1456
|
value: AssignmentTargetMaybeDefault;
|
|
1617
1457
|
method: false;
|
|
1618
1458
|
shorthand: false;
|
|
@@ -1620,111 +1460,235 @@ interface AssignmentTargetPropertyProperty extends Span$1 {
|
|
|
1620
1460
|
optional?: false;
|
|
1621
1461
|
parent?: Node$1;
|
|
1622
1462
|
}
|
|
1623
|
-
interface
|
|
1624
|
-
type: "
|
|
1625
|
-
|
|
1463
|
+
declare interface AssignmentTargetRest extends Span$1 {
|
|
1464
|
+
type: "RestElement";
|
|
1465
|
+
decorators?: [];
|
|
1466
|
+
argument: AssignmentTarget;
|
|
1467
|
+
optional?: false;
|
|
1468
|
+
typeAnnotation?: null;
|
|
1469
|
+
value?: null;
|
|
1626
1470
|
parent?: Node$1;
|
|
1627
1471
|
}
|
|
1628
|
-
interface
|
|
1629
|
-
type: "
|
|
1472
|
+
declare interface AssignmentTargetWithDefault extends Span$1 {
|
|
1473
|
+
type: "AssignmentPattern";
|
|
1474
|
+
decorators?: [];
|
|
1475
|
+
left: AssignmentTarget;
|
|
1476
|
+
right: Expression$1;
|
|
1477
|
+
optional?: false;
|
|
1478
|
+
typeAnnotation?: null;
|
|
1630
1479
|
parent?: Node$1;
|
|
1631
1480
|
}
|
|
1632
|
-
interface AwaitExpression extends Span$1 {
|
|
1481
|
+
declare interface AwaitExpression extends Span$1 {
|
|
1633
1482
|
type: "AwaitExpression";
|
|
1634
1483
|
argument: Expression$1;
|
|
1635
1484
|
parent?: Node$1;
|
|
1636
1485
|
}
|
|
1637
|
-
interface
|
|
1638
|
-
type: "
|
|
1639
|
-
|
|
1486
|
+
declare interface BigIntLiteral$1 extends Span$1 {
|
|
1487
|
+
type: "Literal";
|
|
1488
|
+
value: bigint;
|
|
1489
|
+
raw: string | null;
|
|
1490
|
+
bigint: string;
|
|
1640
1491
|
parent?: Node$1;
|
|
1641
1492
|
}
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1493
|
+
declare interface BinaryExpression$1 extends Span$1 {
|
|
1494
|
+
type: "BinaryExpression";
|
|
1495
|
+
left: Expression$1;
|
|
1496
|
+
operator: BinaryOperator;
|
|
1497
|
+
right: Expression$1;
|
|
1646
1498
|
parent?: Node$1;
|
|
1647
1499
|
}
|
|
1648
|
-
type
|
|
1649
|
-
interface
|
|
1650
|
-
type: "
|
|
1651
|
-
|
|
1652
|
-
|
|
1500
|
+
declare type BinaryOperator = "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "+" | "-" | "*" | "/" | "%" | "**" | "<<" | ">>" | ">>>" | "|" | "^" | "&" | "in" | "instanceof";
|
|
1501
|
+
declare interface BindingIdentifier$1 extends Span$1 {
|
|
1502
|
+
type: "Identifier";
|
|
1503
|
+
decorators?: [];
|
|
1504
|
+
name: string;
|
|
1505
|
+
optional?: false;
|
|
1506
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1653
1507
|
parent?: Node$1;
|
|
1654
1508
|
}
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1509
|
+
declare type BindingPattern$1 = BindingIdentifier$1 | ObjectPattern | ArrayPattern$1 | AssignmentPattern$1;
|
|
1510
|
+
declare interface BindingProperty$1 extends Span$1 {
|
|
1511
|
+
type: "Property";
|
|
1512
|
+
kind: "init";
|
|
1513
|
+
key: PropertyKey_2;
|
|
1514
|
+
value: BindingPattern$1;
|
|
1515
|
+
method: false;
|
|
1516
|
+
shorthand: boolean;
|
|
1517
|
+
computed: boolean;
|
|
1518
|
+
optional?: false;
|
|
1519
|
+
parent?: Node$1;
|
|
1520
|
+
}
|
|
1521
|
+
declare interface BindingRestElement$1 extends Span$1 {
|
|
1522
|
+
type: "RestElement";
|
|
1523
|
+
decorators?: [];
|
|
1524
|
+
argument: BindingPattern$1;
|
|
1525
|
+
optional?: false;
|
|
1526
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1527
|
+
value?: null;
|
|
1658
1528
|
parent?: Node$1;
|
|
1659
1529
|
}
|
|
1660
|
-
interface BlockStatement$1 extends Span$1 {
|
|
1530
|
+
declare interface BlockStatement$1 extends Span$1 {
|
|
1661
1531
|
type: "BlockStatement";
|
|
1662
1532
|
body: Array<Statement$1>;
|
|
1663
1533
|
parent?: Node$1;
|
|
1664
1534
|
}
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
declarations: Array<VariableDeclarator$1>;
|
|
1670
|
-
declare?: boolean;
|
|
1535
|
+
declare interface BooleanLiteral$1 extends Span$1 {
|
|
1536
|
+
type: "Literal";
|
|
1537
|
+
value: boolean;
|
|
1538
|
+
raw: string | null;
|
|
1671
1539
|
parent?: Node$1;
|
|
1672
1540
|
}
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
id: BindingPattern$1;
|
|
1677
|
-
init: Expression$1 | null;
|
|
1678
|
-
definite?: boolean;
|
|
1541
|
+
declare interface BreakStatement$1 extends Span$1 {
|
|
1542
|
+
type: "BreakStatement";
|
|
1543
|
+
label: LabelIdentifier$1 | null;
|
|
1679
1544
|
parent?: Node$1;
|
|
1680
1545
|
}
|
|
1681
|
-
|
|
1682
|
-
|
|
1546
|
+
declare type Built<T> = T extends null | undefined ? T : T extends readonly unknown[] ? (number extends T['length'] ? Array<Built<T[number]>> : T) : T extends Span$1 ? { [K in keyof T as K extends keyof Span$1 ? never : K]: Child<T[K]>; } & Partial<Pick<T, keyof Span$1>> : T;
|
|
1547
|
+
declare interface CallExpression$1 extends Span$1 {
|
|
1548
|
+
type: "CallExpression";
|
|
1549
|
+
callee: Expression$1;
|
|
1550
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1551
|
+
arguments: Array<Argument$1>;
|
|
1552
|
+
optional: boolean;
|
|
1683
1553
|
parent?: Node$1;
|
|
1684
1554
|
}
|
|
1685
|
-
interface
|
|
1686
|
-
type: "
|
|
1687
|
-
|
|
1688
|
-
|
|
1555
|
+
declare interface CatchClause$1 extends Span$1 {
|
|
1556
|
+
type: "CatchClause";
|
|
1557
|
+
param: BindingPattern$1 | null;
|
|
1558
|
+
body: BlockStatement$1;
|
|
1689
1559
|
parent?: Node$1;
|
|
1690
1560
|
}
|
|
1691
|
-
|
|
1692
|
-
|
|
1561
|
+
declare type ChainElement = CallExpression$1 | TSNonNullExpression$1 | MemberExpression$1;
|
|
1562
|
+
declare interface ChainExpression$1 extends Span$1 {
|
|
1563
|
+
type: "ChainExpression";
|
|
1564
|
+
expression: ChainElement;
|
|
1565
|
+
parent?: Node$1;
|
|
1566
|
+
}
|
|
1567
|
+
declare type Child<T> = T extends null | undefined ? T : T extends readonly unknown[] ? (number extends T['length'] ? Array<Child<T[number]>> : T) : T extends Span$1 ? Built<T> | T : T;
|
|
1568
|
+
declare interface Class$1 extends Span$1 {
|
|
1569
|
+
type: ClassType;
|
|
1570
|
+
decorators: Array<Decorator$1>;
|
|
1571
|
+
id: BindingIdentifier$1 | null;
|
|
1572
|
+
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
1573
|
+
superClass: Expression$1 | null;
|
|
1574
|
+
superTypeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1575
|
+
implements?: Array<TSClassImplements>;
|
|
1576
|
+
body: ClassBody$1;
|
|
1577
|
+
abstract?: boolean;
|
|
1578
|
+
declare?: boolean;
|
|
1579
|
+
parent?: Node$1;
|
|
1580
|
+
}
|
|
1581
|
+
declare interface ClassBody$1 extends Span$1 {
|
|
1582
|
+
type: "ClassBody";
|
|
1583
|
+
body: Array<ClassElement>;
|
|
1584
|
+
parent?: Node$1;
|
|
1585
|
+
}
|
|
1586
|
+
declare type ClassElement = StaticBlock$1 | MethodDefinition$1 | PropertyDefinition$1 | AccessorProperty$1 | TSIndexSignature$1;
|
|
1587
|
+
declare type ClassType = "ClassDeclaration" | "ClassExpression";
|
|
1588
|
+
declare interface ComputedMemberExpression extends Span$1 {
|
|
1589
|
+
type: "MemberExpression";
|
|
1590
|
+
object: Expression$1;
|
|
1591
|
+
property: Expression$1;
|
|
1592
|
+
optional: boolean;
|
|
1593
|
+
computed: true;
|
|
1594
|
+
parent?: Node$1;
|
|
1595
|
+
}
|
|
1596
|
+
declare interface ConditionalExpression$1 extends Span$1 {
|
|
1597
|
+
type: "ConditionalExpression";
|
|
1693
1598
|
test: Expression$1;
|
|
1694
|
-
consequent:
|
|
1695
|
-
alternate:
|
|
1599
|
+
consequent: Expression$1;
|
|
1600
|
+
alternate: Expression$1;
|
|
1601
|
+
parent?: Node$1;
|
|
1602
|
+
}
|
|
1603
|
+
declare interface ContinueStatement$1 extends Span$1 {
|
|
1604
|
+
type: "ContinueStatement";
|
|
1605
|
+
label: LabelIdentifier$1 | null;
|
|
1606
|
+
parent?: Node$1;
|
|
1607
|
+
}
|
|
1608
|
+
declare interface DebuggerStatement extends Span$1 {
|
|
1609
|
+
type: "DebuggerStatement";
|
|
1610
|
+
parent?: Node$1;
|
|
1611
|
+
}
|
|
1612
|
+
declare type Declaration = VariableDeclaration$1 | Function$1 | Class$1 | TSTypeAliasDeclaration$1 | TSInterfaceDeclaration$1 | TSEnumDeclaration$1 | TSModuleDeclaration$1 | TSGlobalDeclaration | TSImportEqualsDeclaration$1;
|
|
1613
|
+
declare interface Decorator$1 extends Span$1 {
|
|
1614
|
+
type: "Decorator";
|
|
1615
|
+
expression: Expression$1;
|
|
1616
|
+
parent?: Node$1;
|
|
1617
|
+
}
|
|
1618
|
+
declare interface Directive extends Span$1 {
|
|
1619
|
+
type: "ExpressionStatement";
|
|
1620
|
+
expression: StringLiteral$1;
|
|
1621
|
+
directive: string;
|
|
1696
1622
|
parent?: Node$1;
|
|
1697
1623
|
}
|
|
1698
|
-
interface DoWhileStatement$1 extends Span$1 {
|
|
1624
|
+
declare interface DoWhileStatement$1 extends Span$1 {
|
|
1699
1625
|
type: "DoWhileStatement";
|
|
1700
1626
|
body: Statement$1;
|
|
1701
1627
|
test: Expression$1;
|
|
1702
1628
|
parent?: Node$1;
|
|
1703
1629
|
}
|
|
1704
|
-
interface
|
|
1705
|
-
type: "
|
|
1706
|
-
test: Expression$1;
|
|
1707
|
-
body: Statement$1;
|
|
1630
|
+
declare interface EmptyStatement$1 extends Span$1 {
|
|
1631
|
+
type: "EmptyStatement";
|
|
1708
1632
|
parent?: Node$1;
|
|
1709
1633
|
}
|
|
1710
|
-
interface
|
|
1711
|
-
type: "
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1634
|
+
declare interface ExportAllDeclaration$1 extends Span$1 {
|
|
1635
|
+
type: "ExportAllDeclaration";
|
|
1636
|
+
exported: ModuleExportName | null;
|
|
1637
|
+
source: StringLiteral$1;
|
|
1638
|
+
attributes: Array<ImportAttribute$1>;
|
|
1639
|
+
exportKind?: ImportOrExportKind;
|
|
1640
|
+
parent?: Node$1;
|
|
1641
|
+
}
|
|
1642
|
+
declare interface ExportDefaultDeclaration$1 extends Span$1 {
|
|
1643
|
+
type: "ExportDefaultDeclaration";
|
|
1644
|
+
declaration: ExportDefaultDeclarationKind;
|
|
1645
|
+
exportKind?: "value";
|
|
1646
|
+
parent?: Node$1;
|
|
1647
|
+
}
|
|
1648
|
+
declare type ExportDefaultDeclarationKind = Function$1 | Class$1 | TSInterfaceDeclaration$1 | Expression$1;
|
|
1649
|
+
declare interface ExportNamedDeclaration$1 extends Span$1 {
|
|
1650
|
+
type: "ExportNamedDeclaration";
|
|
1651
|
+
declaration: Declaration | null;
|
|
1652
|
+
specifiers: Array<ExportSpecifier>;
|
|
1653
|
+
source: StringLiteral$1 | null;
|
|
1654
|
+
exportKind?: ImportOrExportKind;
|
|
1655
|
+
attributes: Array<ImportAttribute$1>;
|
|
1716
1656
|
parent?: Node$1;
|
|
1717
1657
|
}
|
|
1718
|
-
|
|
1719
|
-
|
|
1658
|
+
declare interface ExportSpecifier extends Span$1 {
|
|
1659
|
+
type: "ExportSpecifier";
|
|
1660
|
+
local: ModuleExportName;
|
|
1661
|
+
exported: ModuleExportName;
|
|
1662
|
+
exportKind?: ImportOrExportKind;
|
|
1663
|
+
parent?: Node$1;
|
|
1664
|
+
}
|
|
1665
|
+
declare type Expression$1 = BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | IdentifierReference$1 | Super$1 | ArrayExpression$1 | ArrowFunctionExpression$1 | AssignmentExpression$1 | AwaitExpression | BinaryExpression$1 | CallExpression$1 | ChainExpression$1 | Class$1 | ConditionalExpression$1 | Function$1 | ImportExpression$1 | LogicalExpression$1 | NewExpression$1 | ObjectExpression$1 | ParenthesizedExpression | SequenceExpression$1 | TaggedTemplateExpression$1 | ThisExpression$1 | UnaryExpression$1 | UpdateExpression$1 | YieldExpression$1 | PrivateInExpression$1 | MetaProperty$1 | JSXElement$1 | JSXFragment$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSNonNullExpression$1 | TSInstantiationExpression$1 | V8IntrinsicExpression | MemberExpression$1;
|
|
1666
|
+
declare interface ExpressionStatement$1 extends Span$1 {
|
|
1667
|
+
type: "ExpressionStatement";
|
|
1668
|
+
expression: Expression$1;
|
|
1669
|
+
directive?: string | null;
|
|
1670
|
+
parent?: Node$1;
|
|
1671
|
+
}
|
|
1672
|
+
declare interface ForInStatement$1 extends Span$1 {
|
|
1720
1673
|
type: "ForInStatement";
|
|
1721
1674
|
left: ForStatementLeft;
|
|
1722
1675
|
right: Expression$1;
|
|
1723
1676
|
body: Statement$1;
|
|
1724
1677
|
parent?: Node$1;
|
|
1725
1678
|
}
|
|
1726
|
-
type
|
|
1727
|
-
|
|
1679
|
+
declare type FormalParameter = {
|
|
1680
|
+
decorators?: Array<Decorator$1>;
|
|
1681
|
+
} & BindingPattern$1;
|
|
1682
|
+
declare interface FormalParameterRest extends Span$1 {
|
|
1683
|
+
type: "RestElement";
|
|
1684
|
+
argument: BindingPattern$1;
|
|
1685
|
+
decorators?: Array<Decorator$1>;
|
|
1686
|
+
optional?: boolean;
|
|
1687
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1688
|
+
value?: null;
|
|
1689
|
+
parent?: Node$1;
|
|
1690
|
+
}
|
|
1691
|
+
declare interface ForOfStatement$1 extends Span$1 {
|
|
1728
1692
|
type: "ForOfStatement";
|
|
1729
1693
|
await: boolean;
|
|
1730
1694
|
left: ForStatementLeft;
|
|
@@ -1732,475 +1696,545 @@ interface ForOfStatement$1 extends Span$1 {
|
|
|
1732
1696
|
body: Statement$1;
|
|
1733
1697
|
parent?: Node$1;
|
|
1734
1698
|
}
|
|
1735
|
-
interface
|
|
1736
|
-
type: "
|
|
1737
|
-
|
|
1699
|
+
declare interface ForStatement$1 extends Span$1 {
|
|
1700
|
+
type: "ForStatement";
|
|
1701
|
+
init: ForStatementInit | null;
|
|
1702
|
+
test: Expression$1 | null;
|
|
1703
|
+
update: Expression$1 | null;
|
|
1704
|
+
body: Statement$1;
|
|
1738
1705
|
parent?: Node$1;
|
|
1739
1706
|
}
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1707
|
+
declare type ForStatementInit = VariableDeclaration$1 | Expression$1;
|
|
1708
|
+
declare type ForStatementLeft = VariableDeclaration$1 | AssignmentTarget;
|
|
1709
|
+
declare interface Function$1 extends Span$1 {
|
|
1710
|
+
type: FunctionType;
|
|
1711
|
+
id: BindingIdentifier$1 | null;
|
|
1712
|
+
generator: boolean;
|
|
1713
|
+
async: boolean;
|
|
1714
|
+
declare?: boolean;
|
|
1715
|
+
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
1716
|
+
params: ParamPattern$1[];
|
|
1717
|
+
returnType?: TSTypeAnnotation$1 | null;
|
|
1718
|
+
body: FunctionBody | null;
|
|
1719
|
+
expression: false;
|
|
1743
1720
|
parent?: Node$1;
|
|
1744
1721
|
}
|
|
1745
|
-
interface
|
|
1746
|
-
type: "
|
|
1747
|
-
|
|
1722
|
+
declare interface FunctionBody extends Span$1 {
|
|
1723
|
+
type: "BlockStatement";
|
|
1724
|
+
body: Array<Directive | Statement$1>;
|
|
1748
1725
|
parent?: Node$1;
|
|
1749
1726
|
}
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1727
|
+
declare type FunctionType = "FunctionDeclaration" | "FunctionExpression" | "TSDeclareFunction" | "TSEmptyBodyFunctionExpression";
|
|
1728
|
+
declare interface Hashbang extends Span$1 {
|
|
1729
|
+
type: "Hashbang";
|
|
1730
|
+
value: string;
|
|
1754
1731
|
parent?: Node$1;
|
|
1755
1732
|
}
|
|
1756
|
-
interface
|
|
1757
|
-
type: "
|
|
1758
|
-
|
|
1759
|
-
|
|
1733
|
+
declare interface IdentifierName$1 extends Span$1 {
|
|
1734
|
+
type: "Identifier";
|
|
1735
|
+
decorators?: [];
|
|
1736
|
+
name: string;
|
|
1737
|
+
optional?: false;
|
|
1738
|
+
typeAnnotation?: null;
|
|
1760
1739
|
parent?: Node$1;
|
|
1761
1740
|
}
|
|
1762
|
-
interface
|
|
1763
|
-
type: "
|
|
1764
|
-
|
|
1765
|
-
|
|
1741
|
+
declare interface IdentifierReference$1 extends Span$1 {
|
|
1742
|
+
type: "Identifier";
|
|
1743
|
+
decorators?: [];
|
|
1744
|
+
name: string;
|
|
1745
|
+
optional?: false;
|
|
1746
|
+
typeAnnotation?: null;
|
|
1766
1747
|
parent?: Node$1;
|
|
1767
1748
|
}
|
|
1768
|
-
interface
|
|
1769
|
-
type: "
|
|
1770
|
-
|
|
1771
|
-
|
|
1749
|
+
declare interface IfStatement$1 extends Span$1 {
|
|
1750
|
+
type: "IfStatement";
|
|
1751
|
+
test: Expression$1;
|
|
1752
|
+
consequent: Statement$1;
|
|
1753
|
+
alternate: Statement$1 | null;
|
|
1772
1754
|
parent?: Node$1;
|
|
1773
1755
|
}
|
|
1774
|
-
interface
|
|
1775
|
-
|
|
1776
|
-
|
|
1756
|
+
declare interface Ignorer {
|
|
1757
|
+
readonly name: string;
|
|
1758
|
+
shouldIgnore(node: Node_2, ancestors: readonly Node_2[]): string | undefined;
|
|
1759
|
+
}
|
|
1760
|
+
declare interface ImportAttribute$1 extends Span$1 {
|
|
1761
|
+
type: "ImportAttribute";
|
|
1762
|
+
key: ImportAttributeKey;
|
|
1763
|
+
value: StringLiteral$1;
|
|
1777
1764
|
parent?: Node$1;
|
|
1778
1765
|
}
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1766
|
+
declare type ImportAttributeKey = IdentifierName$1 | StringLiteral$1;
|
|
1767
|
+
declare interface ImportDeclaration$1 extends Span$1 {
|
|
1768
|
+
type: "ImportDeclaration";
|
|
1769
|
+
specifiers: Array<ImportDeclarationSpecifier>;
|
|
1770
|
+
source: StringLiteral$1;
|
|
1771
|
+
phase: ImportPhase | null;
|
|
1772
|
+
attributes: Array<ImportAttribute$1>;
|
|
1773
|
+
importKind?: ImportOrExportKind;
|
|
1784
1774
|
parent?: Node$1;
|
|
1785
1775
|
}
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1776
|
+
declare type ImportDeclarationSpecifier = ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier;
|
|
1777
|
+
declare interface ImportDefaultSpecifier extends Span$1 {
|
|
1778
|
+
type: "ImportDefaultSpecifier";
|
|
1779
|
+
local: BindingIdentifier$1;
|
|
1790
1780
|
parent?: Node$1;
|
|
1791
1781
|
}
|
|
1792
|
-
interface
|
|
1793
|
-
type: "
|
|
1782
|
+
declare interface ImportExpression$1 extends Span$1 {
|
|
1783
|
+
type: "ImportExpression";
|
|
1784
|
+
source: Expression$1;
|
|
1785
|
+
options: Expression$1 | null;
|
|
1786
|
+
phase: ImportPhase | null;
|
|
1794
1787
|
parent?: Node$1;
|
|
1795
1788
|
}
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
decorators?: [];
|
|
1800
|
-
left: BindingPattern$1;
|
|
1801
|
-
right: Expression$1;
|
|
1802
|
-
optional?: false;
|
|
1803
|
-
typeAnnotation?: null;
|
|
1789
|
+
declare interface ImportNamespaceSpecifier extends Span$1 {
|
|
1790
|
+
type: "ImportNamespaceSpecifier";
|
|
1791
|
+
local: BindingIdentifier$1;
|
|
1804
1792
|
parent?: Node$1;
|
|
1805
1793
|
}
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1794
|
+
declare type ImportOrExportKind = "value" | "type";
|
|
1795
|
+
declare type ImportPhase = "source" | "defer";
|
|
1796
|
+
declare interface ImportSpecifier extends Span$1 {
|
|
1797
|
+
type: "ImportSpecifier";
|
|
1798
|
+
imported: ModuleExportName;
|
|
1799
|
+
local: BindingIdentifier$1;
|
|
1800
|
+
importKind?: ImportOrExportKind;
|
|
1812
1801
|
parent?: Node$1;
|
|
1813
1802
|
}
|
|
1814
|
-
interface
|
|
1815
|
-
type: "
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
value: BindingPattern$1;
|
|
1819
|
-
method: false;
|
|
1820
|
-
shorthand: boolean;
|
|
1821
|
-
computed: boolean;
|
|
1822
|
-
optional?: false;
|
|
1803
|
+
declare interface JSDocNonNullableType$1 extends Span$1 {
|
|
1804
|
+
type: "TSJSDocNonNullableType";
|
|
1805
|
+
typeAnnotation: TSType$1;
|
|
1806
|
+
postfix: boolean;
|
|
1823
1807
|
parent?: Node$1;
|
|
1824
1808
|
}
|
|
1825
|
-
interface
|
|
1826
|
-
type: "
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
optional?: false;
|
|
1830
|
-
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1809
|
+
declare interface JSDocNullableType$1 extends Span$1 {
|
|
1810
|
+
type: "TSJSDocNullableType";
|
|
1811
|
+
typeAnnotation: TSType$1;
|
|
1812
|
+
postfix: boolean;
|
|
1831
1813
|
parent?: Node$1;
|
|
1832
1814
|
}
|
|
1833
|
-
interface
|
|
1834
|
-
type: "
|
|
1835
|
-
decorators?: [];
|
|
1836
|
-
argument: BindingPattern$1;
|
|
1837
|
-
optional?: false;
|
|
1838
|
-
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1839
|
-
value?: null;
|
|
1815
|
+
declare interface JSDocUnknownType extends Span$1 {
|
|
1816
|
+
type: "TSJSDocUnknownType";
|
|
1840
1817
|
parent?: Node$1;
|
|
1841
1818
|
}
|
|
1842
|
-
interface
|
|
1843
|
-
type:
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
async: boolean;
|
|
1847
|
-
declare?: boolean;
|
|
1848
|
-
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
1849
|
-
params: ParamPattern$1[];
|
|
1850
|
-
returnType?: TSTypeAnnotation$1 | null;
|
|
1851
|
-
body: FunctionBody | null;
|
|
1852
|
-
expression: false;
|
|
1819
|
+
declare interface JSXAttribute$1 extends Span$1 {
|
|
1820
|
+
type: "JSXAttribute";
|
|
1821
|
+
name: JSXAttributeName;
|
|
1822
|
+
value: JSXAttributeValue | null;
|
|
1853
1823
|
parent?: Node$1;
|
|
1854
1824
|
}
|
|
1855
|
-
type
|
|
1856
|
-
type
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1863
|
-
value?: null;
|
|
1825
|
+
declare type JSXAttributeItem = JSXAttribute$1 | JSXSpreadAttribute$1;
|
|
1826
|
+
declare type JSXAttributeName = JSXIdentifier$1 | JSXNamespacedName$1;
|
|
1827
|
+
declare type JSXAttributeValue = StringLiteral$1 | JSXExpressionContainer$1 | JSXElement$1 | JSXFragment$1;
|
|
1828
|
+
declare type JSXChild = JSXText$1 | JSXElement$1 | JSXFragment$1 | JSXExpressionContainer$1 | JSXSpreadChild$1;
|
|
1829
|
+
declare interface JSXClosingElement extends Span$1 {
|
|
1830
|
+
type: "JSXClosingElement";
|
|
1831
|
+
name: JSXElementName;
|
|
1864
1832
|
parent?: Node$1;
|
|
1865
1833
|
}
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
} & BindingPattern$1;
|
|
1869
|
-
interface TSParameterProperty extends Span$1 {
|
|
1870
|
-
type: "TSParameterProperty";
|
|
1871
|
-
accessibility: TSAccessibility | null;
|
|
1872
|
-
decorators: Array<Decorator$1>;
|
|
1873
|
-
override: boolean;
|
|
1874
|
-
parameter: FormalParameter;
|
|
1875
|
-
readonly: boolean;
|
|
1876
|
-
static: boolean;
|
|
1834
|
+
declare interface JSXClosingFragment extends Span$1 {
|
|
1835
|
+
type: "JSXClosingFragment";
|
|
1877
1836
|
parent?: Node$1;
|
|
1878
1837
|
}
|
|
1879
|
-
interface
|
|
1880
|
-
type: "
|
|
1881
|
-
|
|
1838
|
+
declare interface JSXElement$1 extends Span$1 {
|
|
1839
|
+
type: "JSXElement";
|
|
1840
|
+
openingElement: JSXOpeningElement$1;
|
|
1841
|
+
children: Array<JSXChild>;
|
|
1842
|
+
closingElement: JSXClosingElement | null;
|
|
1882
1843
|
parent?: Node$1;
|
|
1883
1844
|
}
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
async: boolean;
|
|
1888
|
-
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
1889
|
-
params: ParamPattern$1[];
|
|
1890
|
-
returnType?: TSTypeAnnotation$1 | null;
|
|
1891
|
-
body: FunctionBody | Expression$1;
|
|
1892
|
-
id: null;
|
|
1893
|
-
generator: false;
|
|
1845
|
+
declare type JSXElementName = JSXIdentifier$1 | JSXNamespacedName$1 | JSXMemberExpression$1;
|
|
1846
|
+
declare interface JSXEmptyExpression extends Span$1 {
|
|
1847
|
+
type: "JSXEmptyExpression";
|
|
1894
1848
|
parent?: Node$1;
|
|
1895
1849
|
}
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1850
|
+
declare type JSXExpression = JSXEmptyExpression | Expression$1;
|
|
1851
|
+
declare interface JSXExpressionContainer$1 extends Span$1 {
|
|
1852
|
+
type: "JSXExpressionContainer";
|
|
1853
|
+
expression: JSXExpression;
|
|
1900
1854
|
parent?: Node$1;
|
|
1901
1855
|
}
|
|
1902
|
-
interface
|
|
1903
|
-
type:
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
superClass: Expression$1 | null;
|
|
1908
|
-
superTypeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1909
|
-
implements?: Array<TSClassImplements>;
|
|
1910
|
-
body: ClassBody$1;
|
|
1911
|
-
abstract?: boolean;
|
|
1912
|
-
declare?: boolean;
|
|
1856
|
+
declare interface JSXFragment$1 extends Span$1 {
|
|
1857
|
+
type: "JSXFragment";
|
|
1858
|
+
openingFragment: JSXOpeningFragment;
|
|
1859
|
+
children: Array<JSXChild>;
|
|
1860
|
+
closingFragment: JSXClosingFragment;
|
|
1913
1861
|
parent?: Node$1;
|
|
1914
1862
|
}
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
body: Array<ClassElement>;
|
|
1863
|
+
declare interface JSXIdentifier$1 extends Span$1 {
|
|
1864
|
+
type: "JSXIdentifier";
|
|
1865
|
+
name: string;
|
|
1919
1866
|
parent?: Node$1;
|
|
1920
1867
|
}
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
key: PropertyKey$1;
|
|
1926
|
-
value: Function$1;
|
|
1927
|
-
kind: MethodDefinitionKind;
|
|
1928
|
-
computed: boolean;
|
|
1929
|
-
static: boolean;
|
|
1930
|
-
override?: boolean;
|
|
1931
|
-
optional?: boolean;
|
|
1932
|
-
accessibility?: TSAccessibility | null;
|
|
1868
|
+
declare interface JSXMemberExpression$1 extends Span$1 {
|
|
1869
|
+
type: "JSXMemberExpression";
|
|
1870
|
+
object: JSXMemberExpressionObject;
|
|
1871
|
+
property: JSXIdentifier$1;
|
|
1933
1872
|
parent?: Node$1;
|
|
1934
1873
|
}
|
|
1935
|
-
type
|
|
1936
|
-
interface
|
|
1937
|
-
type:
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1874
|
+
declare type JSXMemberExpressionObject = JSXIdentifier$1 | JSXMemberExpression$1;
|
|
1875
|
+
declare interface JSXNamespacedName$1 extends Span$1 {
|
|
1876
|
+
type: "JSXNamespacedName";
|
|
1877
|
+
namespace: JSXIdentifier$1;
|
|
1878
|
+
name: JSXIdentifier$1;
|
|
1879
|
+
parent?: Node$1;
|
|
1880
|
+
}
|
|
1881
|
+
declare interface JSXOpeningElement$1 extends Span$1 {
|
|
1882
|
+
type: "JSXOpeningElement";
|
|
1883
|
+
name: JSXElementName;
|
|
1884
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1885
|
+
attributes: Array<JSXAttributeItem>;
|
|
1886
|
+
selfClosing: boolean;
|
|
1887
|
+
parent?: Node$1;
|
|
1888
|
+
}
|
|
1889
|
+
declare interface JSXOpeningFragment extends Span$1 {
|
|
1890
|
+
type: "JSXOpeningFragment";
|
|
1891
|
+
attributes?: [];
|
|
1892
|
+
selfClosing?: false;
|
|
1893
|
+
parent?: Node$1;
|
|
1894
|
+
}
|
|
1895
|
+
declare interface JSXSpreadAttribute$1 extends Span$1 {
|
|
1896
|
+
type: "JSXSpreadAttribute";
|
|
1897
|
+
argument: Expression$1;
|
|
1898
|
+
parent?: Node$1;
|
|
1899
|
+
}
|
|
1900
|
+
declare interface JSXSpreadChild$1 extends Span$1 {
|
|
1901
|
+
type: "JSXSpreadChild";
|
|
1902
|
+
expression: Expression$1;
|
|
1903
|
+
parent?: Node$1;
|
|
1904
|
+
}
|
|
1905
|
+
declare interface JSXText$1 extends Span$1 {
|
|
1906
|
+
type: "JSXText";
|
|
1907
|
+
value: string;
|
|
1908
|
+
raw: string | null;
|
|
1909
|
+
parent?: Node$1;
|
|
1910
|
+
}
|
|
1911
|
+
declare interface LabeledStatement$1 extends Span$1 {
|
|
1912
|
+
type: "LabeledStatement";
|
|
1913
|
+
label: LabelIdentifier$1;
|
|
1914
|
+
body: Statement$1;
|
|
1915
|
+
parent?: Node$1;
|
|
1916
|
+
}
|
|
1917
|
+
declare interface LabelIdentifier$1 extends Span$1 {
|
|
1918
|
+
type: "Identifier";
|
|
1919
|
+
decorators?: [];
|
|
1920
|
+
name: string;
|
|
1921
|
+
optional?: false;
|
|
1922
|
+
typeAnnotation?: null;
|
|
1923
|
+
parent?: Node$1;
|
|
1924
|
+
}
|
|
1925
|
+
declare interface LogicalExpression$1 extends Span$1 {
|
|
1926
|
+
type: "LogicalExpression";
|
|
1927
|
+
left: Expression$1;
|
|
1928
|
+
operator: LogicalOperator;
|
|
1929
|
+
right: Expression$1;
|
|
1930
|
+
parent?: Node$1;
|
|
1931
|
+
}
|
|
1932
|
+
declare type LogicalOperator = "||" | "&&" | "??";
|
|
1933
|
+
declare type MemberExpression$1 = ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression;
|
|
1934
|
+
declare interface MetaProperty$1 extends Span$1 {
|
|
1935
|
+
type: "MetaProperty";
|
|
1936
|
+
meta: IdentifierName$1;
|
|
1937
|
+
property: IdentifierName$1;
|
|
1938
|
+
parent?: Node$1;
|
|
1939
|
+
}
|
|
1940
|
+
declare interface MethodDefinition$1 extends Span$1 {
|
|
1941
|
+
type: MethodDefinitionType;
|
|
1942
|
+
decorators: Array<Decorator$1>;
|
|
1943
|
+
key: PropertyKey_2;
|
|
1944
|
+
value: Function$1;
|
|
1945
|
+
kind: MethodDefinitionKind;
|
|
1942
1946
|
computed: boolean;
|
|
1943
1947
|
static: boolean;
|
|
1944
|
-
declare?: boolean;
|
|
1945
1948
|
override?: boolean;
|
|
1946
1949
|
optional?: boolean;
|
|
1947
|
-
definite?: boolean;
|
|
1948
|
-
readonly?: boolean;
|
|
1949
1950
|
accessibility?: TSAccessibility | null;
|
|
1950
1951
|
parent?: Node$1;
|
|
1951
1952
|
}
|
|
1952
|
-
type
|
|
1953
|
-
type
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1953
|
+
declare type MethodDefinitionKind = "constructor" | "method" | "get" | "set";
|
|
1954
|
+
declare type MethodDefinitionType = "MethodDefinition" | "TSAbstractMethodDefinition";
|
|
1955
|
+
declare type ModuleDeclaration = ImportDeclaration$1 | ExportAllDeclaration$1 | ExportDefaultDeclaration$1 | ExportNamedDeclaration$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1;
|
|
1956
|
+
declare type ModuleExportName = IdentifierName$1 | IdentifierReference$1 | StringLiteral$1;
|
|
1957
|
+
declare type ModuleKind = "script" | "module" | "commonjs";
|
|
1958
|
+
declare interface NewExpression$1 extends Span$1 {
|
|
1959
|
+
type: "NewExpression";
|
|
1960
|
+
callee: Expression$1;
|
|
1961
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1962
|
+
arguments: Array<Argument$1>;
|
|
1957
1963
|
parent?: Node$1;
|
|
1958
1964
|
}
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1965
|
+
declare type Node$1 = Program$1 | IdentifierName$1 | IdentifierReference$1 | BindingIdentifier$1 | LabelIdentifier$1 | ThisExpression$1 | ArrayExpression$1 | ObjectExpression$1 | ObjectProperty$1 | TemplateLiteral$1 | TaggedTemplateExpression$1 | TemplateElement$1 | ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression | CallExpression$1 | NewExpression$1 | MetaProperty$1 | SpreadElement$1 | UpdateExpression$1 | UnaryExpression$1 | BinaryExpression$1 | PrivateInExpression$1 | LogicalExpression$1 | ConditionalExpression$1 | AssignmentExpression$1 | ArrayAssignmentTarget | ObjectAssignmentTarget | AssignmentTargetRest | AssignmentTargetWithDefault | AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty | SequenceExpression$1 | Super$1 | AwaitExpression | ChainExpression$1 | ParenthesizedExpression | Directive | Hashbang | BlockStatement$1 | VariableDeclaration$1 | VariableDeclarator$1 | EmptyStatement$1 | ExpressionStatement$1 | IfStatement$1 | DoWhileStatement$1 | WhileStatement$1 | ForStatement$1 | ForInStatement$1 | ForOfStatement$1 | ContinueStatement$1 | BreakStatement$1 | ReturnStatement$1 | WithStatement$1 | SwitchStatement$1 | SwitchCase$1 | LabeledStatement$1 | ThrowStatement$1 | TryStatement$1 | CatchClause$1 | DebuggerStatement | AssignmentPattern$1 | ObjectPattern | BindingProperty$1 | ArrayPattern$1 | BindingRestElement$1 | Function$1 | FunctionBody | ArrowFunctionExpression$1 | YieldExpression$1 | Class$1 | ClassBody$1 | MethodDefinition$1 | PropertyDefinition$1 | PrivateIdentifier$1 | StaticBlock$1 | AccessorProperty$1 | ImportExpression$1 | ImportDeclaration$1 | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportAttribute$1 | ExportNamedDeclaration$1 | ExportDefaultDeclaration$1 | ExportAllDeclaration$1 | ExportSpecifier | V8IntrinsicExpression | BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | StringLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | JSXElement$1 | JSXOpeningElement$1 | JSXClosingElement | JSXFragment$1 | JSXOpeningFragment | JSXClosingFragment | JSXNamespacedName$1 | JSXMemberExpression$1 | JSXExpressionContainer$1 | JSXEmptyExpression | JSXAttribute$1 | JSXSpreadAttribute$1 | JSXIdentifier$1 | JSXSpreadChild$1 | JSXText$1 | TSThisParameter | TSEnumDeclaration$1 | TSEnumBody | TSEnumMember | TSTypeAnnotation$1 | TSLiteralType$1 | TSConditionalType$1 | TSUnionType$1 | TSIntersectionType$1 | TSParenthesizedType$1 | TSTypeOperator$1 | TSArrayType$1 | TSIndexedAccessType$1 | TSTupleType$1 | TSNamedTupleMember$1 | TSOptionalType$1 | TSRestType$1 | TSAnyKeyword | TSStringKeyword | TSBooleanKeyword | TSNumberKeyword | TSNeverKeyword | TSIntrinsicKeyword | TSUnknownKeyword | TSNullKeyword | TSUndefinedKeyword | TSVoidKeyword | TSSymbolKeyword | TSThisType | TSObjectKeyword | TSBigIntKeyword | TSTypeReference$1 | TSQualifiedName$1 | TSTypeParameterInstantiation$1 | TSTypeParameter | TSTypeParameterDeclaration$1 | TSTypeAliasDeclaration$1 | TSClassImplements | TSInterfaceDeclaration$1 | TSInterfaceBody$1 | TSPropertySignature$1 | TSIndexSignature$1 | TSCallSignatureDeclaration$1 | TSMethodSignature$1 | TSConstructSignatureDeclaration$1 | TSIndexSignatureName | TSInterfaceHeritage | TSTypePredicate$1 | TSModuleDeclaration$1 | TSGlobalDeclaration | TSModuleBlock$1 | TSTypeLiteral | TSInferType$1 | TSTypeQuery$1 | TSImportType$1 | TSImportTypeQualifiedName | TSFunctionType$1 | TSConstructorType$1 | TSMappedType$1 | TSTemplateLiteralType$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSImportEqualsDeclaration$1 | TSExternalModuleReference | TSNonNullExpression$1 | Decorator$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1 | TSInstantiationExpression$1 | JSDocNullableType$1 | JSDocNonNullableType$1 | JSDocUnknownType | ParamPattern$1;
|
|
1966
|
+
declare type Node_2 = Simplify<Built<Node$1>> | Node$1;
|
|
1967
|
+
declare interface NullLiteral$1 extends Span$1 {
|
|
1968
|
+
type: "Literal";
|
|
1969
|
+
value: null;
|
|
1970
|
+
raw: "null" | null;
|
|
1962
1971
|
parent?: Node$1;
|
|
1963
1972
|
}
|
|
1964
|
-
|
|
1965
|
-
type
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
override?: boolean;
|
|
1975
|
-
definite?: boolean;
|
|
1976
|
-
accessibility?: TSAccessibility | null;
|
|
1977
|
-
declare?: false;
|
|
1973
|
+
declare interface NumericLiteral$1 extends Span$1 {
|
|
1974
|
+
type: "Literal";
|
|
1975
|
+
value: number;
|
|
1976
|
+
raw: string | null;
|
|
1977
|
+
parent?: Node$1;
|
|
1978
|
+
}
|
|
1979
|
+
declare interface ObjectAssignmentTarget extends Span$1 {
|
|
1980
|
+
type: "ObjectPattern";
|
|
1981
|
+
decorators?: [];
|
|
1982
|
+
properties: Array<AssignmentTargetProperty | AssignmentTargetRest>;
|
|
1978
1983
|
optional?: false;
|
|
1979
|
-
|
|
1984
|
+
typeAnnotation?: null;
|
|
1980
1985
|
parent?: Node$1;
|
|
1981
1986
|
}
|
|
1982
|
-
interface
|
|
1983
|
-
type: "
|
|
1984
|
-
|
|
1985
|
-
options: Expression$1 | null;
|
|
1986
|
-
phase: ImportPhase | null;
|
|
1987
|
+
declare interface ObjectExpression$1 extends Span$1 {
|
|
1988
|
+
type: "ObjectExpression";
|
|
1989
|
+
properties: Array<ObjectPropertyKind>;
|
|
1987
1990
|
parent?: Node$1;
|
|
1988
1991
|
}
|
|
1989
|
-
interface
|
|
1990
|
-
type: "
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
importKind?: ImportOrExportKind;
|
|
1992
|
+
declare interface ObjectPattern extends Span$1 {
|
|
1993
|
+
type: "ObjectPattern";
|
|
1994
|
+
decorators?: [];
|
|
1995
|
+
properties: Array<BindingProperty$1 | BindingRestElement$1>;
|
|
1996
|
+
optional?: false;
|
|
1997
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
1996
1998
|
parent?: Node$1;
|
|
1997
1999
|
}
|
|
1998
|
-
|
|
1999
|
-
type
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2000
|
+
declare interface ObjectProperty$1 extends Span$1 {
|
|
2001
|
+
type: "Property";
|
|
2002
|
+
kind: PropertyKind;
|
|
2003
|
+
key: PropertyKey_2;
|
|
2004
|
+
value: Expression$1;
|
|
2005
|
+
method: boolean;
|
|
2006
|
+
shorthand: boolean;
|
|
2007
|
+
computed: boolean;
|
|
2008
|
+
optional?: false;
|
|
2005
2009
|
parent?: Node$1;
|
|
2006
2010
|
}
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2011
|
+
declare type ObjectPropertyKind = ObjectProperty$1 | SpreadElement$1;
|
|
2012
|
+
declare type ParamPattern$1 = FormalParameter | TSParameterProperty | FormalParameterRest;
|
|
2013
|
+
declare interface ParenthesizedExpression extends Span$1 {
|
|
2014
|
+
type: "ParenthesizedExpression";
|
|
2015
|
+
expression: Expression$1;
|
|
2010
2016
|
parent?: Node$1;
|
|
2011
2017
|
}
|
|
2012
|
-
interface
|
|
2013
|
-
type: "
|
|
2014
|
-
|
|
2018
|
+
declare interface PrivateFieldExpression extends Span$1 {
|
|
2019
|
+
type: "MemberExpression";
|
|
2020
|
+
object: Expression$1;
|
|
2021
|
+
property: PrivateIdentifier$1;
|
|
2022
|
+
optional: boolean;
|
|
2023
|
+
computed: false;
|
|
2015
2024
|
parent?: Node$1;
|
|
2016
2025
|
}
|
|
2017
|
-
interface
|
|
2018
|
-
type: "
|
|
2019
|
-
|
|
2020
|
-
value: StringLiteral$1;
|
|
2026
|
+
declare interface PrivateIdentifier$1 extends Span$1 {
|
|
2027
|
+
type: "PrivateIdentifier";
|
|
2028
|
+
name: string;
|
|
2021
2029
|
parent?: Node$1;
|
|
2022
2030
|
}
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
source: StringLiteral$1 | null;
|
|
2029
|
-
exportKind?: ImportOrExportKind;
|
|
2030
|
-
attributes: Array<ImportAttribute$1>;
|
|
2031
|
+
declare interface PrivateInExpression$1 extends Span$1 {
|
|
2032
|
+
type: "BinaryExpression";
|
|
2033
|
+
left: PrivateIdentifier$1;
|
|
2034
|
+
operator: "in";
|
|
2035
|
+
right: Expression$1;
|
|
2031
2036
|
parent?: Node$1;
|
|
2032
2037
|
}
|
|
2033
|
-
interface
|
|
2034
|
-
type: "
|
|
2035
|
-
|
|
2036
|
-
|
|
2038
|
+
declare interface Program$1 extends Span$1 {
|
|
2039
|
+
type: "Program";
|
|
2040
|
+
body: Array<Directive | Statement$1>;
|
|
2041
|
+
sourceType: ModuleKind;
|
|
2042
|
+
hashbang: Hashbang | null;
|
|
2043
|
+
parent?: null;
|
|
2044
|
+
}
|
|
2045
|
+
declare type Program = Simplify<Built<Program$1>>;
|
|
2046
|
+
declare interface PropertyDefinition$1 extends Span$1 {
|
|
2047
|
+
type: PropertyDefinitionType;
|
|
2048
|
+
decorators: Array<Decorator$1>;
|
|
2049
|
+
key: PropertyKey_2;
|
|
2050
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
2051
|
+
value: Expression$1 | null;
|
|
2052
|
+
computed: boolean;
|
|
2053
|
+
static: boolean;
|
|
2054
|
+
declare?: boolean;
|
|
2055
|
+
override?: boolean;
|
|
2056
|
+
optional?: boolean;
|
|
2057
|
+
definite?: boolean;
|
|
2058
|
+
readonly?: boolean;
|
|
2059
|
+
accessibility?: TSAccessibility | null;
|
|
2037
2060
|
parent?: Node$1;
|
|
2038
2061
|
}
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2062
|
+
declare type PropertyDefinitionType = "PropertyDefinition" | "TSAbstractPropertyDefinition";
|
|
2063
|
+
declare type PropertyKey_2 = IdentifierName$1 | PrivateIdentifier$1 | Expression$1;
|
|
2064
|
+
declare type PropertyKind = "init" | "get" | "set";
|
|
2065
|
+
declare interface RegExpLiteral$1 extends Span$1 {
|
|
2066
|
+
type: "Literal";
|
|
2067
|
+
value: RegExp | null;
|
|
2068
|
+
raw: string | null;
|
|
2069
|
+
regex: {
|
|
2070
|
+
pattern: string;
|
|
2071
|
+
flags: string;
|
|
2072
|
+
};
|
|
2045
2073
|
parent?: Node$1;
|
|
2046
2074
|
}
|
|
2047
|
-
interface
|
|
2048
|
-
type: "
|
|
2049
|
-
|
|
2050
|
-
exported: ModuleExportName;
|
|
2051
|
-
exportKind?: ImportOrExportKind;
|
|
2075
|
+
declare interface ReturnStatement$1 extends Span$1 {
|
|
2076
|
+
type: "ReturnStatement";
|
|
2077
|
+
argument: Expression$1 | null;
|
|
2052
2078
|
parent?: Node$1;
|
|
2053
2079
|
}
|
|
2054
|
-
|
|
2055
|
-
type
|
|
2056
|
-
|
|
2057
|
-
type: "V8IntrinsicExpression";
|
|
2058
|
-
name: IdentifierName$1;
|
|
2059
|
-
arguments: Array<Argument$1>;
|
|
2080
|
+
declare interface SequenceExpression$1 extends Span$1 {
|
|
2081
|
+
type: "SequenceExpression";
|
|
2082
|
+
expressions: Array<Expression$1>;
|
|
2060
2083
|
parent?: Node$1;
|
|
2061
2084
|
}
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2085
|
+
declare type SimpleAssignmentTarget$1 = IdentifierReference$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSNonNullExpression$1 | TSTypeAssertion$1 | MemberExpression$1;
|
|
2086
|
+
declare type Simplify<T> = { [K in keyof T]: T[K]; } & {};
|
|
2087
|
+
declare interface Span$1 {
|
|
2088
|
+
start: number;
|
|
2089
|
+
end: number;
|
|
2090
|
+
range?: [number, number];
|
|
2091
|
+
}
|
|
2092
|
+
declare interface SpreadElement$1 extends Span$1 {
|
|
2093
|
+
type: "SpreadElement";
|
|
2094
|
+
argument: Expression$1;
|
|
2066
2095
|
parent?: Node$1;
|
|
2067
2096
|
}
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2097
|
+
declare type Statement$1 = BlockStatement$1 | BreakStatement$1 | ContinueStatement$1 | DebuggerStatement | DoWhileStatement$1 | EmptyStatement$1 | ExpressionStatement$1 | ForInStatement$1 | ForOfStatement$1 | ForStatement$1 | IfStatement$1 | LabeledStatement$1 | ReturnStatement$1 | SwitchStatement$1 | ThrowStatement$1 | TryStatement$1 | WhileStatement$1 | WithStatement$1 | Declaration | ModuleDeclaration;
|
|
2098
|
+
declare interface StaticBlock$1 extends Span$1 {
|
|
2099
|
+
type: "StaticBlock";
|
|
2100
|
+
body: Array<Statement$1>;
|
|
2072
2101
|
parent?: Node$1;
|
|
2073
2102
|
}
|
|
2074
|
-
interface
|
|
2075
|
-
type: "
|
|
2076
|
-
|
|
2077
|
-
|
|
2103
|
+
declare interface StaticMemberExpression$1 extends Span$1 {
|
|
2104
|
+
type: "MemberExpression";
|
|
2105
|
+
object: Expression$1;
|
|
2106
|
+
property: IdentifierName$1;
|
|
2107
|
+
optional: boolean;
|
|
2108
|
+
computed: false;
|
|
2078
2109
|
parent?: Node$1;
|
|
2079
2110
|
}
|
|
2080
|
-
interface StringLiteral$1 extends Span$1 {
|
|
2111
|
+
declare interface StringLiteral$1 extends Span$1 {
|
|
2081
2112
|
type: "Literal";
|
|
2082
2113
|
value: string;
|
|
2083
2114
|
raw: string | null;
|
|
2084
2115
|
parent?: Node$1;
|
|
2085
2116
|
}
|
|
2086
|
-
interface
|
|
2087
|
-
type: "
|
|
2088
|
-
value: bigint;
|
|
2089
|
-
raw: string | null;
|
|
2090
|
-
bigint: string;
|
|
2117
|
+
declare interface Super$1 extends Span$1 {
|
|
2118
|
+
type: "Super";
|
|
2091
2119
|
parent?: Node$1;
|
|
2092
2120
|
}
|
|
2093
|
-
interface
|
|
2094
|
-
type: "
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
regex: {
|
|
2098
|
-
pattern: string;
|
|
2099
|
-
flags: string;
|
|
2100
|
-
};
|
|
2121
|
+
declare interface SwitchCase$1 extends Span$1 {
|
|
2122
|
+
type: "SwitchCase";
|
|
2123
|
+
test: Expression$1 | null;
|
|
2124
|
+
consequent: Array<Statement$1>;
|
|
2101
2125
|
parent?: Node$1;
|
|
2102
2126
|
}
|
|
2103
|
-
interface
|
|
2104
|
-
type: "
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
closingElement: JSXClosingElement | null;
|
|
2127
|
+
declare interface SwitchStatement$1 extends Span$1 {
|
|
2128
|
+
type: "SwitchStatement";
|
|
2129
|
+
discriminant: Expression$1;
|
|
2130
|
+
cases: Array<SwitchCase$1>;
|
|
2108
2131
|
parent?: Node$1;
|
|
2109
2132
|
}
|
|
2110
|
-
interface
|
|
2111
|
-
type: "
|
|
2112
|
-
|
|
2133
|
+
declare interface TaggedTemplateExpression$1 extends Span$1 {
|
|
2134
|
+
type: "TaggedTemplateExpression";
|
|
2135
|
+
tag: Expression$1;
|
|
2113
2136
|
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
2114
|
-
|
|
2115
|
-
selfClosing: boolean;
|
|
2137
|
+
quasi: TemplateLiteral$1;
|
|
2116
2138
|
parent?: Node$1;
|
|
2117
2139
|
}
|
|
2118
|
-
interface
|
|
2119
|
-
type: "
|
|
2120
|
-
|
|
2140
|
+
declare interface TemplateElement$1 extends Span$1 {
|
|
2141
|
+
type: "TemplateElement";
|
|
2142
|
+
value: TemplateElementValue;
|
|
2143
|
+
tail: boolean;
|
|
2121
2144
|
parent?: Node$1;
|
|
2122
2145
|
}
|
|
2123
|
-
interface
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2146
|
+
declare interface TemplateElementValue {
|
|
2147
|
+
raw: string;
|
|
2148
|
+
cooked: string | null;
|
|
2149
|
+
}
|
|
2150
|
+
declare interface TemplateLiteral$1 extends Span$1 {
|
|
2151
|
+
type: "TemplateLiteral";
|
|
2152
|
+
quasis: Array<TemplateElement$1>;
|
|
2153
|
+
expressions: Array<Expression$1>;
|
|
2128
2154
|
parent?: Node$1;
|
|
2129
2155
|
}
|
|
2130
|
-
interface
|
|
2131
|
-
type: "
|
|
2132
|
-
attributes?: [];
|
|
2133
|
-
selfClosing?: false;
|
|
2156
|
+
declare interface ThisExpression$1 extends Span$1 {
|
|
2157
|
+
type: "ThisExpression";
|
|
2134
2158
|
parent?: Node$1;
|
|
2135
2159
|
}
|
|
2136
|
-
interface
|
|
2137
|
-
type: "
|
|
2160
|
+
declare interface ThrowStatement$1 extends Span$1 {
|
|
2161
|
+
type: "ThrowStatement";
|
|
2162
|
+
argument: Expression$1;
|
|
2138
2163
|
parent?: Node$1;
|
|
2139
2164
|
}
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2165
|
+
declare interface TryStatement$1 extends Span$1 {
|
|
2166
|
+
type: "TryStatement";
|
|
2167
|
+
block: BlockStatement$1;
|
|
2168
|
+
handler: CatchClause$1 | null;
|
|
2169
|
+
finalizer: BlockStatement$1 | null;
|
|
2145
2170
|
parent?: Node$1;
|
|
2146
2171
|
}
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
property: JSXIdentifier$1;
|
|
2172
|
+
declare type TSAccessibility = "private" | "protected" | "public";
|
|
2173
|
+
declare interface TSAnyKeyword extends Span$1 {
|
|
2174
|
+
type: "TSAnyKeyword";
|
|
2151
2175
|
parent?: Node$1;
|
|
2152
2176
|
}
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
expression: JSXExpression;
|
|
2177
|
+
declare interface TSArrayType$1 extends Span$1 {
|
|
2178
|
+
type: "TSArrayType";
|
|
2179
|
+
elementType: TSType$1;
|
|
2157
2180
|
parent?: Node$1;
|
|
2158
2181
|
}
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2182
|
+
declare interface TSAsExpression$1 extends Span$1 {
|
|
2183
|
+
type: "TSAsExpression";
|
|
2184
|
+
expression: Expression$1;
|
|
2185
|
+
typeAnnotation: TSType$1;
|
|
2162
2186
|
parent?: Node$1;
|
|
2163
2187
|
}
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
type: "JSXAttribute";
|
|
2167
|
-
name: JSXAttributeName;
|
|
2168
|
-
value: JSXAttributeValue | null;
|
|
2188
|
+
declare interface TSBigIntKeyword extends Span$1 {
|
|
2189
|
+
type: "TSBigIntKeyword";
|
|
2169
2190
|
parent?: Node$1;
|
|
2170
2191
|
}
|
|
2171
|
-
interface
|
|
2172
|
-
type: "
|
|
2173
|
-
argument: Expression$1;
|
|
2192
|
+
declare interface TSBooleanKeyword extends Span$1 {
|
|
2193
|
+
type: "TSBooleanKeyword";
|
|
2174
2194
|
parent?: Node$1;
|
|
2175
2195
|
}
|
|
2176
|
-
|
|
2177
|
-
type
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2196
|
+
declare interface TSCallSignatureDeclaration$1 extends Span$1 {
|
|
2197
|
+
type: "TSCallSignatureDeclaration";
|
|
2198
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2199
|
+
params: ParamPattern$1[];
|
|
2200
|
+
returnType: TSTypeAnnotation$1 | null;
|
|
2181
2201
|
parent?: Node$1;
|
|
2182
2202
|
}
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2203
|
+
declare interface TSClassImplements extends Span$1 {
|
|
2204
|
+
type: "TSClassImplements";
|
|
2205
|
+
expression: IdentifierReference$1 | ThisExpression$1 | MemberExpression$1;
|
|
2206
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2207
|
+
parent?: Node$1;
|
|
2208
|
+
}
|
|
2209
|
+
declare interface TSConditionalType$1 extends Span$1 {
|
|
2210
|
+
type: "TSConditionalType";
|
|
2211
|
+
checkType: TSType$1;
|
|
2212
|
+
extendsType: TSType$1;
|
|
2213
|
+
trueType: TSType$1;
|
|
2214
|
+
falseType: TSType$1;
|
|
2215
|
+
parent?: Node$1;
|
|
2216
|
+
}
|
|
2217
|
+
declare interface TSConstructorType$1 extends Span$1 {
|
|
2218
|
+
type: "TSConstructorType";
|
|
2219
|
+
abstract: boolean;
|
|
2220
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2221
|
+
params: ParamPattern$1[];
|
|
2222
|
+
returnType: TSTypeAnnotation$1;
|
|
2187
2223
|
parent?: Node$1;
|
|
2188
2224
|
}
|
|
2189
|
-
interface
|
|
2190
|
-
type: "
|
|
2191
|
-
|
|
2192
|
-
|
|
2225
|
+
declare interface TSConstructSignatureDeclaration$1 extends Span$1 {
|
|
2226
|
+
type: "TSConstructSignatureDeclaration";
|
|
2227
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2228
|
+
params: ParamPattern$1[];
|
|
2229
|
+
returnType: TSTypeAnnotation$1 | null;
|
|
2193
2230
|
parent?: Node$1;
|
|
2194
2231
|
}
|
|
2195
|
-
interface
|
|
2196
|
-
type: "
|
|
2197
|
-
|
|
2198
|
-
name: "this";
|
|
2199
|
-
optional: false;
|
|
2200
|
-
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
2232
|
+
declare interface TSEnumBody extends Span$1 {
|
|
2233
|
+
type: "TSEnumBody";
|
|
2234
|
+
members: Array<TSEnumMember>;
|
|
2201
2235
|
parent?: Node$1;
|
|
2202
2236
|
}
|
|
2203
|
-
interface TSEnumDeclaration$1 extends Span$1 {
|
|
2237
|
+
declare interface TSEnumDeclaration$1 extends Span$1 {
|
|
2204
2238
|
type: "TSEnumDeclaration";
|
|
2205
2239
|
id: BindingIdentifier$1;
|
|
2206
2240
|
body: TSEnumBody;
|
|
@@ -2208,522 +2242,502 @@ interface TSEnumDeclaration$1 extends Span$1 {
|
|
|
2208
2242
|
declare: boolean;
|
|
2209
2243
|
parent?: Node$1;
|
|
2210
2244
|
}
|
|
2211
|
-
interface
|
|
2212
|
-
type: "TSEnumBody";
|
|
2213
|
-
members: Array<TSEnumMember>;
|
|
2214
|
-
parent?: Node$1;
|
|
2215
|
-
}
|
|
2216
|
-
interface TSEnumMember extends Span$1 {
|
|
2245
|
+
declare interface TSEnumMember extends Span$1 {
|
|
2217
2246
|
type: "TSEnumMember";
|
|
2218
2247
|
id: TSEnumMemberName;
|
|
2219
2248
|
initializer: Expression$1 | null;
|
|
2220
2249
|
computed: boolean;
|
|
2221
2250
|
parent?: Node$1;
|
|
2222
2251
|
}
|
|
2223
|
-
type TSEnumMemberName = IdentifierName$1 | StringLiteral$1 | TemplateLiteral$1;
|
|
2224
|
-
interface
|
|
2225
|
-
type: "
|
|
2226
|
-
|
|
2227
|
-
parent?: Node$1;
|
|
2228
|
-
}
|
|
2229
|
-
interface TSLiteralType$1 extends Span$1 {
|
|
2230
|
-
type: "TSLiteralType";
|
|
2231
|
-
literal: TSLiteral;
|
|
2252
|
+
declare type TSEnumMemberName = IdentifierName$1 | StringLiteral$1 | TemplateLiteral$1;
|
|
2253
|
+
declare interface TSExportAssignment$1 extends Span$1 {
|
|
2254
|
+
type: "TSExportAssignment";
|
|
2255
|
+
expression: Expression$1;
|
|
2232
2256
|
parent?: Node$1;
|
|
2233
2257
|
}
|
|
2234
|
-
|
|
2235
|
-
type
|
|
2236
|
-
|
|
2237
|
-
type: "TSConditionalType";
|
|
2238
|
-
checkType: TSType$1;
|
|
2239
|
-
extendsType: TSType$1;
|
|
2240
|
-
trueType: TSType$1;
|
|
2241
|
-
falseType: TSType$1;
|
|
2258
|
+
declare interface TSExternalModuleReference extends Span$1 {
|
|
2259
|
+
type: "TSExternalModuleReference";
|
|
2260
|
+
expression: StringLiteral$1;
|
|
2242
2261
|
parent?: Node$1;
|
|
2243
2262
|
}
|
|
2244
|
-
interface
|
|
2245
|
-
type: "
|
|
2246
|
-
|
|
2263
|
+
declare interface TSFunctionType$1 extends Span$1 {
|
|
2264
|
+
type: "TSFunctionType";
|
|
2265
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2266
|
+
params: ParamPattern$1[];
|
|
2267
|
+
returnType: TSTypeAnnotation$1;
|
|
2247
2268
|
parent?: Node$1;
|
|
2248
2269
|
}
|
|
2249
|
-
interface
|
|
2250
|
-
type: "
|
|
2251
|
-
|
|
2270
|
+
declare interface TSGlobalDeclaration extends Span$1 {
|
|
2271
|
+
type: "TSModuleDeclaration";
|
|
2272
|
+
id: IdentifierName$1;
|
|
2273
|
+
body: TSModuleBlock$1;
|
|
2274
|
+
kind: "global";
|
|
2275
|
+
declare: boolean;
|
|
2276
|
+
global: true;
|
|
2252
2277
|
parent?: Node$1;
|
|
2253
2278
|
}
|
|
2254
|
-
interface
|
|
2255
|
-
type: "
|
|
2256
|
-
|
|
2279
|
+
declare interface TSImportEqualsDeclaration$1 extends Span$1 {
|
|
2280
|
+
type: "TSImportEqualsDeclaration";
|
|
2281
|
+
id: BindingIdentifier$1;
|
|
2282
|
+
moduleReference: TSModuleReference;
|
|
2283
|
+
importKind: ImportOrExportKind;
|
|
2257
2284
|
parent?: Node$1;
|
|
2258
2285
|
}
|
|
2259
|
-
interface
|
|
2260
|
-
type: "
|
|
2261
|
-
|
|
2262
|
-
|
|
2286
|
+
declare interface TSImportType$1 extends Span$1 {
|
|
2287
|
+
type: "TSImportType";
|
|
2288
|
+
source: StringLiteral$1;
|
|
2289
|
+
options: ObjectExpression$1 | null;
|
|
2290
|
+
qualifier: TSImportTypeQualifier | null;
|
|
2291
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2263
2292
|
parent?: Node$1;
|
|
2264
2293
|
}
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2294
|
+
declare interface TSImportTypeQualifiedName extends Span$1 {
|
|
2295
|
+
type: "TSQualifiedName";
|
|
2296
|
+
left: TSImportTypeQualifier;
|
|
2297
|
+
right: IdentifierName$1;
|
|
2269
2298
|
parent?: Node$1;
|
|
2270
2299
|
}
|
|
2271
|
-
|
|
2300
|
+
declare type TSImportTypeQualifier = IdentifierName$1 | TSImportTypeQualifiedName;
|
|
2301
|
+
declare interface TSIndexedAccessType$1 extends Span$1 {
|
|
2272
2302
|
type: "TSIndexedAccessType";
|
|
2273
2303
|
objectType: TSType$1;
|
|
2274
2304
|
indexType: TSType$1;
|
|
2275
2305
|
parent?: Node$1;
|
|
2276
2306
|
}
|
|
2277
|
-
interface
|
|
2278
|
-
type: "
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
label: IdentifierName$1;
|
|
2285
|
-
elementType: TSTupleElement;
|
|
2286
|
-
optional: boolean;
|
|
2307
|
+
declare interface TSIndexSignature$1 extends Span$1 {
|
|
2308
|
+
type: "TSIndexSignature";
|
|
2309
|
+
parameters: Array<TSIndexSignatureName>;
|
|
2310
|
+
typeAnnotation: TSTypeAnnotation$1;
|
|
2311
|
+
readonly: boolean;
|
|
2312
|
+
static: boolean;
|
|
2313
|
+
accessibility: null;
|
|
2287
2314
|
parent?: Node$1;
|
|
2288
2315
|
}
|
|
2289
|
-
interface
|
|
2290
|
-
type: "
|
|
2291
|
-
|
|
2316
|
+
declare interface TSIndexSignatureName extends Span$1 {
|
|
2317
|
+
type: "Identifier";
|
|
2318
|
+
decorators: [];
|
|
2319
|
+
name: string;
|
|
2320
|
+
optional: false;
|
|
2321
|
+
typeAnnotation: TSTypeAnnotation$1;
|
|
2292
2322
|
parent?: Node$1;
|
|
2293
2323
|
}
|
|
2294
|
-
interface
|
|
2295
|
-
type: "
|
|
2296
|
-
|
|
2324
|
+
declare interface TSInferType$1 extends Span$1 {
|
|
2325
|
+
type: "TSInferType";
|
|
2326
|
+
typeParameter: TSTypeParameter;
|
|
2297
2327
|
parent?: Node$1;
|
|
2298
2328
|
}
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2329
|
+
declare interface TSInstantiationExpression$1 extends Span$1 {
|
|
2330
|
+
type: "TSInstantiationExpression";
|
|
2331
|
+
expression: Expression$1;
|
|
2332
|
+
typeArguments: TSTypeParameterInstantiation$1;
|
|
2302
2333
|
parent?: Node$1;
|
|
2303
2334
|
}
|
|
2304
|
-
interface
|
|
2305
|
-
type: "
|
|
2335
|
+
declare interface TSInterfaceBody$1 extends Span$1 {
|
|
2336
|
+
type: "TSInterfaceBody";
|
|
2337
|
+
body: Array<TSSignature>;
|
|
2306
2338
|
parent?: Node$1;
|
|
2307
2339
|
}
|
|
2308
|
-
interface
|
|
2309
|
-
type: "
|
|
2340
|
+
declare interface TSInterfaceDeclaration$1 extends Span$1 {
|
|
2341
|
+
type: "TSInterfaceDeclaration";
|
|
2342
|
+
id: BindingIdentifier$1;
|
|
2343
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2344
|
+
extends: Array<TSInterfaceHeritage>;
|
|
2345
|
+
body: TSInterfaceBody$1;
|
|
2346
|
+
declare: boolean;
|
|
2310
2347
|
parent?: Node$1;
|
|
2311
2348
|
}
|
|
2312
|
-
interface
|
|
2313
|
-
type: "
|
|
2349
|
+
declare interface TSInterfaceHeritage extends Span$1 {
|
|
2350
|
+
type: "TSInterfaceHeritage";
|
|
2351
|
+
expression: Expression$1;
|
|
2352
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2314
2353
|
parent?: Node$1;
|
|
2315
2354
|
}
|
|
2316
|
-
interface
|
|
2317
|
-
type: "
|
|
2355
|
+
declare interface TSIntersectionType$1 extends Span$1 {
|
|
2356
|
+
type: "TSIntersectionType";
|
|
2357
|
+
types: Array<TSType$1>;
|
|
2318
2358
|
parent?: Node$1;
|
|
2319
2359
|
}
|
|
2320
|
-
interface TSIntrinsicKeyword extends Span$1 {
|
|
2360
|
+
declare interface TSIntrinsicKeyword extends Span$1 {
|
|
2321
2361
|
type: "TSIntrinsicKeyword";
|
|
2322
2362
|
parent?: Node$1;
|
|
2323
2363
|
}
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
interface TSNullKeyword extends Span$1 {
|
|
2329
|
-
type: "TSNullKeyword";
|
|
2364
|
+
declare type TSLiteral = BooleanLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | UnaryExpression$1;
|
|
2365
|
+
declare interface TSLiteralType$1 extends Span$1 {
|
|
2366
|
+
type: "TSLiteralType";
|
|
2367
|
+
literal: TSLiteral;
|
|
2330
2368
|
parent?: Node$1;
|
|
2331
2369
|
}
|
|
2332
|
-
interface
|
|
2333
|
-
type: "
|
|
2370
|
+
declare interface TSMappedType$1 extends Span$1 {
|
|
2371
|
+
type: "TSMappedType";
|
|
2372
|
+
key: BindingIdentifier$1;
|
|
2373
|
+
constraint: TSType$1;
|
|
2374
|
+
nameType: TSType$1 | null;
|
|
2375
|
+
typeAnnotation: TSType$1 | null;
|
|
2376
|
+
optional: TSMappedTypeModifierOperator | false;
|
|
2377
|
+
readonly: TSMappedTypeModifierOperator | null;
|
|
2334
2378
|
parent?: Node$1;
|
|
2335
2379
|
}
|
|
2336
|
-
|
|
2337
|
-
|
|
2380
|
+
declare type TSMappedTypeModifierOperator = true | "+" | "-";
|
|
2381
|
+
declare interface TSMethodSignature$1 extends Span$1 {
|
|
2382
|
+
type: "TSMethodSignature";
|
|
2383
|
+
key: PropertyKey_2;
|
|
2384
|
+
computed: boolean;
|
|
2385
|
+
optional: boolean;
|
|
2386
|
+
kind: TSMethodSignatureKind;
|
|
2387
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2388
|
+
params: ParamPattern$1[];
|
|
2389
|
+
returnType: TSTypeAnnotation$1 | null;
|
|
2390
|
+
accessibility: null;
|
|
2391
|
+
readonly: false;
|
|
2392
|
+
static: false;
|
|
2338
2393
|
parent?: Node$1;
|
|
2339
2394
|
}
|
|
2340
|
-
|
|
2341
|
-
|
|
2395
|
+
declare type TSMethodSignatureKind = "method" | "get" | "set";
|
|
2396
|
+
declare interface TSModuleBlock$1 extends Span$1 {
|
|
2397
|
+
type: "TSModuleBlock";
|
|
2398
|
+
body: Array<Directive | Statement$1>;
|
|
2342
2399
|
parent?: Node$1;
|
|
2343
2400
|
}
|
|
2344
|
-
interface
|
|
2345
|
-
type: "
|
|
2401
|
+
declare interface TSModuleDeclaration$1 extends Span$1 {
|
|
2402
|
+
type: "TSModuleDeclaration";
|
|
2403
|
+
id: BindingIdentifier$1 | StringLiteral$1 | TSQualifiedName$1;
|
|
2404
|
+
body: TSModuleBlock$1 | null;
|
|
2405
|
+
kind: TSModuleDeclarationKind;
|
|
2406
|
+
declare: boolean;
|
|
2407
|
+
global: false;
|
|
2346
2408
|
parent?: Node$1;
|
|
2347
2409
|
}
|
|
2348
|
-
|
|
2349
|
-
|
|
2410
|
+
declare type TSModuleDeclarationKind = "module" | "namespace";
|
|
2411
|
+
declare type TSModuleReference = TSExternalModuleReference | IdentifierReference$1 | TSQualifiedName$1;
|
|
2412
|
+
declare interface TSNamedTupleMember$1 extends Span$1 {
|
|
2413
|
+
type: "TSNamedTupleMember";
|
|
2414
|
+
label: IdentifierName$1;
|
|
2415
|
+
elementType: TSTupleElement;
|
|
2416
|
+
optional: boolean;
|
|
2350
2417
|
parent?: Node$1;
|
|
2351
2418
|
}
|
|
2352
|
-
interface
|
|
2353
|
-
type: "
|
|
2419
|
+
declare interface TSNamespaceExportDeclaration$1 extends Span$1 {
|
|
2420
|
+
type: "TSNamespaceExportDeclaration";
|
|
2421
|
+
id: IdentifierName$1;
|
|
2354
2422
|
parent?: Node$1;
|
|
2355
2423
|
}
|
|
2356
|
-
interface
|
|
2357
|
-
type: "
|
|
2358
|
-
typeName: TSTypeName;
|
|
2359
|
-
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2424
|
+
declare interface TSNeverKeyword extends Span$1 {
|
|
2425
|
+
type: "TSNeverKeyword";
|
|
2360
2426
|
parent?: Node$1;
|
|
2361
2427
|
}
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
left: TSTypeName;
|
|
2366
|
-
right: IdentifierName$1;
|
|
2428
|
+
declare interface TSNonNullExpression$1 extends Span$1 {
|
|
2429
|
+
type: "TSNonNullExpression";
|
|
2430
|
+
expression: Expression$1;
|
|
2367
2431
|
parent?: Node$1;
|
|
2368
2432
|
}
|
|
2369
|
-
interface
|
|
2370
|
-
type: "
|
|
2371
|
-
params: Array<TSType$1>;
|
|
2433
|
+
declare interface TSNullKeyword extends Span$1 {
|
|
2434
|
+
type: "TSNullKeyword";
|
|
2372
2435
|
parent?: Node$1;
|
|
2373
2436
|
}
|
|
2374
|
-
interface
|
|
2375
|
-
type: "
|
|
2376
|
-
name: BindingIdentifier$1;
|
|
2377
|
-
constraint: TSType$1 | null;
|
|
2378
|
-
default: TSType$1 | null;
|
|
2379
|
-
in: boolean;
|
|
2380
|
-
out: boolean;
|
|
2381
|
-
const: boolean;
|
|
2437
|
+
declare interface TSNumberKeyword extends Span$1 {
|
|
2438
|
+
type: "TSNumberKeyword";
|
|
2382
2439
|
parent?: Node$1;
|
|
2383
2440
|
}
|
|
2384
|
-
interface
|
|
2385
|
-
type: "
|
|
2386
|
-
params: Array<TSTypeParameter>;
|
|
2441
|
+
declare interface TSObjectKeyword extends Span$1 {
|
|
2442
|
+
type: "TSObjectKeyword";
|
|
2387
2443
|
parent?: Node$1;
|
|
2388
2444
|
}
|
|
2389
|
-
interface
|
|
2390
|
-
type: "
|
|
2391
|
-
id: BindingIdentifier$1;
|
|
2392
|
-
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2445
|
+
declare interface TSOptionalType$1 extends Span$1 {
|
|
2446
|
+
type: "TSOptionalType";
|
|
2393
2447
|
typeAnnotation: TSType$1;
|
|
2394
|
-
declare: boolean;
|
|
2395
|
-
parent?: Node$1;
|
|
2396
|
-
}
|
|
2397
|
-
type TSAccessibility = "private" | "protected" | "public";
|
|
2398
|
-
interface TSClassImplements extends Span$1 {
|
|
2399
|
-
type: "TSClassImplements";
|
|
2400
|
-
expression: IdentifierReference$1 | ThisExpression$1 | MemberExpression$1;
|
|
2401
|
-
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2402
2448
|
parent?: Node$1;
|
|
2403
2449
|
}
|
|
2404
|
-
interface
|
|
2405
|
-
type: "
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2450
|
+
declare interface TSParameterProperty extends Span$1 {
|
|
2451
|
+
type: "TSParameterProperty";
|
|
2452
|
+
accessibility: TSAccessibility | null;
|
|
2453
|
+
decorators: Array<Decorator$1>;
|
|
2454
|
+
override: boolean;
|
|
2455
|
+
parameter: FormalParameter;
|
|
2456
|
+
readonly: boolean;
|
|
2457
|
+
static: boolean;
|
|
2411
2458
|
parent?: Node$1;
|
|
2412
2459
|
}
|
|
2413
|
-
interface
|
|
2414
|
-
type: "
|
|
2415
|
-
|
|
2460
|
+
declare interface TSParenthesizedType$1 extends Span$1 {
|
|
2461
|
+
type: "TSParenthesizedType";
|
|
2462
|
+
typeAnnotation: TSType$1;
|
|
2416
2463
|
parent?: Node$1;
|
|
2417
2464
|
}
|
|
2418
|
-
interface TSPropertySignature$1 extends Span$1 {
|
|
2465
|
+
declare interface TSPropertySignature$1 extends Span$1 {
|
|
2419
2466
|
type: "TSPropertySignature";
|
|
2420
2467
|
computed: boolean;
|
|
2421
2468
|
optional: boolean;
|
|
2422
2469
|
readonly: boolean;
|
|
2423
|
-
key:
|
|
2470
|
+
key: PropertyKey_2;
|
|
2424
2471
|
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
2425
2472
|
accessibility: null;
|
|
2426
2473
|
static: false;
|
|
2427
2474
|
parent?: Node$1;
|
|
2428
2475
|
}
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
typeAnnotation: TSTypeAnnotation$1;
|
|
2434
|
-
readonly: boolean;
|
|
2435
|
-
static: boolean;
|
|
2436
|
-
accessibility: null;
|
|
2476
|
+
declare interface TSQualifiedName$1 extends Span$1 {
|
|
2477
|
+
type: "TSQualifiedName";
|
|
2478
|
+
left: TSTypeName;
|
|
2479
|
+
right: IdentifierName$1;
|
|
2437
2480
|
parent?: Node$1;
|
|
2438
2481
|
}
|
|
2439
|
-
interface
|
|
2440
|
-
type: "
|
|
2441
|
-
|
|
2442
|
-
params: ParamPattern$1[];
|
|
2443
|
-
returnType: TSTypeAnnotation$1 | null;
|
|
2482
|
+
declare interface TSRestType$1 extends Span$1 {
|
|
2483
|
+
type: "TSRestType";
|
|
2484
|
+
typeAnnotation: TSType$1;
|
|
2444
2485
|
parent?: Node$1;
|
|
2445
2486
|
}
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
computed: boolean;
|
|
2451
|
-
optional: boolean;
|
|
2452
|
-
kind: TSMethodSignatureKind;
|
|
2453
|
-
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2454
|
-
params: ParamPattern$1[];
|
|
2455
|
-
returnType: TSTypeAnnotation$1 | null;
|
|
2456
|
-
accessibility: null;
|
|
2457
|
-
readonly: false;
|
|
2458
|
-
static: false;
|
|
2487
|
+
declare interface TSSatisfiesExpression$1 extends Span$1 {
|
|
2488
|
+
type: "TSSatisfiesExpression";
|
|
2489
|
+
expression: Expression$1;
|
|
2490
|
+
typeAnnotation: TSType$1;
|
|
2459
2491
|
parent?: Node$1;
|
|
2460
2492
|
}
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2493
|
+
declare type TSSignature = TSIndexSignature$1 | TSPropertySignature$1 | TSCallSignatureDeclaration$1 | TSConstructSignatureDeclaration$1 | TSMethodSignature$1;
|
|
2494
|
+
declare interface TSStringKeyword extends Span$1 {
|
|
2495
|
+
type: "TSStringKeyword";
|
|
2496
|
+
parent?: Node$1;
|
|
2497
|
+
}
|
|
2498
|
+
declare interface TSSymbolKeyword extends Span$1 {
|
|
2499
|
+
type: "TSSymbolKeyword";
|
|
2500
|
+
parent?: Node$1;
|
|
2501
|
+
}
|
|
2502
|
+
declare interface TSTemplateLiteralType$1 extends Span$1 {
|
|
2503
|
+
type: "TSTemplateLiteralType";
|
|
2504
|
+
quasis: Array<TemplateElement$1>;
|
|
2505
|
+
types: Array<TSType$1>;
|
|
2466
2506
|
parent?: Node$1;
|
|
2467
2507
|
}
|
|
2468
|
-
interface
|
|
2508
|
+
declare interface TSThisParameter extends Span$1 {
|
|
2469
2509
|
type: "Identifier";
|
|
2470
2510
|
decorators: [];
|
|
2471
|
-
name:
|
|
2511
|
+
name: "this";
|
|
2472
2512
|
optional: false;
|
|
2473
|
-
typeAnnotation: TSTypeAnnotation$1;
|
|
2513
|
+
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
2474
2514
|
parent?: Node$1;
|
|
2475
2515
|
}
|
|
2476
|
-
interface
|
|
2477
|
-
type: "
|
|
2478
|
-
expression: Expression$1;
|
|
2479
|
-
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2516
|
+
declare interface TSThisType extends Span$1 {
|
|
2517
|
+
type: "TSThisType";
|
|
2480
2518
|
parent?: Node$1;
|
|
2481
2519
|
}
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
2520
|
+
declare type TSTupleElement = TSOptionalType$1 | TSRestType$1 | TSType$1;
|
|
2521
|
+
declare interface TSTupleType$1 extends Span$1 {
|
|
2522
|
+
type: "TSTupleType";
|
|
2523
|
+
elementTypes: Array<TSTupleElement>;
|
|
2487
2524
|
parent?: Node$1;
|
|
2488
2525
|
}
|
|
2489
|
-
type
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
kind: TSModuleDeclarationKind;
|
|
2526
|
+
declare type TSType$1 = TSAnyKeyword | TSBigIntKeyword | TSBooleanKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSArrayType$1 | TSConditionalType$1 | TSConstructorType$1 | TSFunctionType$1 | TSImportType$1 | TSIndexedAccessType$1 | TSInferType$1 | TSIntersectionType$1 | TSLiteralType$1 | TSMappedType$1 | TSNamedTupleMember$1 | TSTemplateLiteralType$1 | TSThisType | TSTupleType$1 | TSTypeLiteral | TSTypeOperator$1 | TSTypePredicate$1 | TSTypeQuery$1 | TSTypeReference$1 | TSUnionType$1 | TSParenthesizedType$1 | JSDocNullableType$1 | JSDocNonNullableType$1 | JSDocUnknownType;
|
|
2527
|
+
declare interface TSTypeAliasDeclaration$1 extends Span$1 {
|
|
2528
|
+
type: "TSTypeAliasDeclaration";
|
|
2529
|
+
id: BindingIdentifier$1;
|
|
2530
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2531
|
+
typeAnnotation: TSType$1;
|
|
2496
2532
|
declare: boolean;
|
|
2497
|
-
global: false;
|
|
2498
2533
|
parent?: Node$1;
|
|
2499
2534
|
}
|
|
2500
|
-
interface
|
|
2501
|
-
type: "
|
|
2502
|
-
|
|
2503
|
-
body: TSModuleBlock$1;
|
|
2504
|
-
kind: "global";
|
|
2505
|
-
declare: boolean;
|
|
2506
|
-
global: true;
|
|
2535
|
+
declare interface TSTypeAnnotation$1 extends Span$1 {
|
|
2536
|
+
type: "TSTypeAnnotation";
|
|
2537
|
+
typeAnnotation: TSType$1;
|
|
2507
2538
|
parent?: Node$1;
|
|
2508
2539
|
}
|
|
2509
|
-
interface
|
|
2510
|
-
type: "
|
|
2511
|
-
|
|
2540
|
+
declare interface TSTypeAssertion$1 extends Span$1 {
|
|
2541
|
+
type: "TSTypeAssertion";
|
|
2542
|
+
typeAnnotation: TSType$1;
|
|
2543
|
+
expression: Expression$1;
|
|
2512
2544
|
parent?: Node$1;
|
|
2513
2545
|
}
|
|
2514
|
-
interface TSTypeLiteral extends Span$1 {
|
|
2546
|
+
declare interface TSTypeLiteral extends Span$1 {
|
|
2515
2547
|
type: "TSTypeLiteral";
|
|
2516
2548
|
members: Array<TSSignature>;
|
|
2517
2549
|
parent?: Node$1;
|
|
2518
2550
|
}
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
interface TSTypeQuery$1 extends Span$1 {
|
|
2525
|
-
type: "TSTypeQuery";
|
|
2526
|
-
exprName: TSTypeQueryExprName;
|
|
2527
|
-
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2528
|
-
parent?: Node$1;
|
|
2529
|
-
}
|
|
2530
|
-
type TSTypeQueryExprName = TSImportType$1 | TSTypeName;
|
|
2531
|
-
interface TSImportType$1 extends Span$1 {
|
|
2532
|
-
type: "TSImportType";
|
|
2533
|
-
source: StringLiteral$1;
|
|
2534
|
-
options: ObjectExpression$1 | null;
|
|
2535
|
-
qualifier: TSImportTypeQualifier | null;
|
|
2536
|
-
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2551
|
+
declare type TSTypeName = IdentifierReference$1 | TSQualifiedName$1 | ThisExpression$1;
|
|
2552
|
+
declare interface TSTypeOperator$1 extends Span$1 {
|
|
2553
|
+
type: "TSTypeOperator";
|
|
2554
|
+
operator: TSTypeOperatorOperator;
|
|
2555
|
+
typeAnnotation: TSType$1;
|
|
2537
2556
|
parent?: Node$1;
|
|
2538
2557
|
}
|
|
2539
|
-
type
|
|
2540
|
-
interface
|
|
2541
|
-
type: "
|
|
2542
|
-
|
|
2543
|
-
|
|
2558
|
+
declare type TSTypeOperatorOperator = "keyof" | "unique" | "readonly";
|
|
2559
|
+
declare interface TSTypeParameter extends Span$1 {
|
|
2560
|
+
type: "TSTypeParameter";
|
|
2561
|
+
name: BindingIdentifier$1;
|
|
2562
|
+
constraint: TSType$1 | null;
|
|
2563
|
+
default: TSType$1 | null;
|
|
2564
|
+
in: boolean;
|
|
2565
|
+
out: boolean;
|
|
2566
|
+
const: boolean;
|
|
2544
2567
|
parent?: Node$1;
|
|
2545
2568
|
}
|
|
2546
|
-
interface
|
|
2547
|
-
type: "
|
|
2548
|
-
|
|
2549
|
-
params: ParamPattern$1[];
|
|
2550
|
-
returnType: TSTypeAnnotation$1;
|
|
2569
|
+
declare interface TSTypeParameterDeclaration$1 extends Span$1 {
|
|
2570
|
+
type: "TSTypeParameterDeclaration";
|
|
2571
|
+
params: Array<TSTypeParameter>;
|
|
2551
2572
|
parent?: Node$1;
|
|
2552
2573
|
}
|
|
2553
|
-
interface
|
|
2554
|
-
type: "
|
|
2555
|
-
|
|
2556
|
-
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
2557
|
-
params: ParamPattern$1[];
|
|
2558
|
-
returnType: TSTypeAnnotation$1;
|
|
2574
|
+
declare interface TSTypeParameterInstantiation$1 extends Span$1 {
|
|
2575
|
+
type: "TSTypeParameterInstantiation";
|
|
2576
|
+
params: Array<TSType$1>;
|
|
2559
2577
|
parent?: Node$1;
|
|
2560
2578
|
}
|
|
2561
|
-
interface
|
|
2562
|
-
type: "
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
typeAnnotation: TSType$1 | null;
|
|
2567
|
-
optional: TSMappedTypeModifierOperator | false;
|
|
2568
|
-
readonly: TSMappedTypeModifierOperator | null;
|
|
2579
|
+
declare interface TSTypePredicate$1 extends Span$1 {
|
|
2580
|
+
type: "TSTypePredicate";
|
|
2581
|
+
parameterName: TSTypePredicateName;
|
|
2582
|
+
asserts: boolean;
|
|
2583
|
+
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
2569
2584
|
parent?: Node$1;
|
|
2570
2585
|
}
|
|
2571
|
-
type
|
|
2572
|
-
interface
|
|
2573
|
-
type: "
|
|
2574
|
-
|
|
2575
|
-
|
|
2586
|
+
declare type TSTypePredicateName = IdentifierName$1 | TSThisType;
|
|
2587
|
+
declare interface TSTypeQuery$1 extends Span$1 {
|
|
2588
|
+
type: "TSTypeQuery";
|
|
2589
|
+
exprName: TSTypeQueryExprName;
|
|
2590
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2576
2591
|
parent?: Node$1;
|
|
2577
2592
|
}
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2593
|
+
declare type TSTypeQueryExprName = TSImportType$1 | TSTypeName;
|
|
2594
|
+
declare interface TSTypeReference$1 extends Span$1 {
|
|
2595
|
+
type: "TSTypeReference";
|
|
2596
|
+
typeName: TSTypeName;
|
|
2597
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
2582
2598
|
parent?: Node$1;
|
|
2583
2599
|
}
|
|
2584
|
-
interface
|
|
2585
|
-
type: "
|
|
2586
|
-
expression: Expression$1;
|
|
2587
|
-
typeAnnotation: TSType$1;
|
|
2600
|
+
declare interface TSUndefinedKeyword extends Span$1 {
|
|
2601
|
+
type: "TSUndefinedKeyword";
|
|
2588
2602
|
parent?: Node$1;
|
|
2589
2603
|
}
|
|
2590
|
-
interface
|
|
2591
|
-
type: "
|
|
2592
|
-
|
|
2593
|
-
expression: Expression$1;
|
|
2604
|
+
declare interface TSUnionType$1 extends Span$1 {
|
|
2605
|
+
type: "TSUnionType";
|
|
2606
|
+
types: Array<TSType$1>;
|
|
2594
2607
|
parent?: Node$1;
|
|
2595
2608
|
}
|
|
2596
|
-
interface
|
|
2597
|
-
type: "
|
|
2598
|
-
id: BindingIdentifier$1;
|
|
2599
|
-
moduleReference: TSModuleReference;
|
|
2600
|
-
importKind: ImportOrExportKind;
|
|
2609
|
+
declare interface TSUnknownKeyword extends Span$1 {
|
|
2610
|
+
type: "TSUnknownKeyword";
|
|
2601
2611
|
parent?: Node$1;
|
|
2602
2612
|
}
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
type: "TSExternalModuleReference";
|
|
2606
|
-
expression: StringLiteral$1;
|
|
2613
|
+
declare interface TSVoidKeyword extends Span$1 {
|
|
2614
|
+
type: "TSVoidKeyword";
|
|
2607
2615
|
parent?: Node$1;
|
|
2608
2616
|
}
|
|
2609
|
-
interface
|
|
2610
|
-
type: "
|
|
2611
|
-
|
|
2617
|
+
declare interface UnaryExpression$1 extends Span$1 {
|
|
2618
|
+
type: "UnaryExpression";
|
|
2619
|
+
operator: UnaryOperator;
|
|
2620
|
+
argument: Expression$1;
|
|
2621
|
+
prefix: true;
|
|
2612
2622
|
parent?: Node$1;
|
|
2613
2623
|
}
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2624
|
+
declare type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
|
|
2625
|
+
declare interface UpdateExpression$1 extends Span$1 {
|
|
2626
|
+
type: "UpdateExpression";
|
|
2627
|
+
operator: UpdateOperator;
|
|
2628
|
+
prefix: boolean;
|
|
2629
|
+
argument: SimpleAssignmentTarget$1;
|
|
2617
2630
|
parent?: Node$1;
|
|
2618
2631
|
}
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2632
|
+
declare type UpdateOperator = "++" | "--";
|
|
2633
|
+
declare interface V8IntrinsicExpression extends Span$1 {
|
|
2634
|
+
type: "V8IntrinsicExpression";
|
|
2635
|
+
name: IdentifierName$1;
|
|
2636
|
+
arguments: Array<Argument$1>;
|
|
2622
2637
|
parent?: Node$1;
|
|
2623
2638
|
}
|
|
2624
|
-
interface
|
|
2625
|
-
type: "
|
|
2626
|
-
|
|
2639
|
+
declare interface VariableDeclaration$1 extends Span$1 {
|
|
2640
|
+
type: "VariableDeclaration";
|
|
2641
|
+
kind: VariableDeclarationKind;
|
|
2642
|
+
declarations: Array<VariableDeclarator$1>;
|
|
2643
|
+
declare?: boolean;
|
|
2627
2644
|
parent?: Node$1;
|
|
2628
2645
|
}
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2646
|
+
declare type VariableDeclarationKind = "var" | "let" | "const" | "using" | "await using";
|
|
2647
|
+
declare interface VariableDeclarator$1 extends Span$1 {
|
|
2648
|
+
type: "VariableDeclarator";
|
|
2649
|
+
id: BindingPattern$1;
|
|
2650
|
+
init: Expression$1 | null;
|
|
2651
|
+
definite?: boolean;
|
|
2633
2652
|
parent?: Node$1;
|
|
2634
2653
|
}
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
postfix: boolean;
|
|
2654
|
+
declare interface WhileStatement$1 extends Span$1 {
|
|
2655
|
+
type: "WhileStatement";
|
|
2656
|
+
test: Expression$1;
|
|
2657
|
+
body: Statement$1;
|
|
2640
2658
|
parent?: Node$1;
|
|
2641
2659
|
}
|
|
2642
|
-
interface
|
|
2643
|
-
type: "
|
|
2644
|
-
|
|
2645
|
-
|
|
2660
|
+
declare interface WithStatement$1 extends Span$1 {
|
|
2661
|
+
type: "WithStatement";
|
|
2662
|
+
object: Expression$1;
|
|
2663
|
+
body: Statement$1;
|
|
2646
2664
|
parent?: Node$1;
|
|
2647
2665
|
}
|
|
2648
|
-
interface
|
|
2649
|
-
type: "
|
|
2666
|
+
declare interface YieldExpression$1 extends Span$1 {
|
|
2667
|
+
type: "YieldExpression";
|
|
2668
|
+
delegate: boolean;
|
|
2669
|
+
argument: Expression$1 | null;
|
|
2650
2670
|
parent?: Node$1;
|
|
2651
2671
|
}
|
|
2652
|
-
type ModuleKind = "script" | "module" | "commonjs";
|
|
2653
|
-
interface Span$1 {
|
|
2654
|
-
start: number;
|
|
2655
|
-
end: number;
|
|
2656
|
-
range?: [number, number];
|
|
2657
|
-
}
|
|
2658
|
-
type AssignmentOperator = "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "**=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "||=" | "&&=" | "??=";
|
|
2659
|
-
type BinaryOperator = "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "+" | "-" | "*" | "/" | "%" | "**" | "<<" | ">>" | ">>>" | "|" | "^" | "&" | "in" | "instanceof";
|
|
2660
|
-
type LogicalOperator = "||" | "&&" | "??";
|
|
2661
|
-
type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
|
|
2662
|
-
type UpdateOperator = "++" | "--";
|
|
2663
|
-
type Node$1 = Program$1 | IdentifierName$1 | IdentifierReference$1 | BindingIdentifier$1 | LabelIdentifier$1 | ThisExpression$1 | ArrayExpression$1 | ObjectExpression$1 | ObjectProperty$1 | TemplateLiteral$1 | TaggedTemplateExpression$1 | TemplateElement$1 | ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression | CallExpression$1 | NewExpression$1 | MetaProperty$1 | SpreadElement$1 | UpdateExpression$1 | UnaryExpression$1 | BinaryExpression$1 | PrivateInExpression$1 | LogicalExpression$1 | ConditionalExpression$1 | AssignmentExpression$1 | ArrayAssignmentTarget | ObjectAssignmentTarget | AssignmentTargetRest | AssignmentTargetWithDefault | AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty | SequenceExpression$1 | Super$1 | AwaitExpression | ChainExpression$1 | ParenthesizedExpression | Directive | Hashbang | BlockStatement$1 | VariableDeclaration$1 | VariableDeclarator$1 | EmptyStatement$1 | ExpressionStatement$1 | IfStatement$1 | DoWhileStatement$1 | WhileStatement$1 | ForStatement$1 | ForInStatement$1 | ForOfStatement$1 | ContinueStatement$1 | BreakStatement$1 | ReturnStatement$1 | WithStatement$1 | SwitchStatement$1 | SwitchCase$1 | LabeledStatement$1 | ThrowStatement$1 | TryStatement$1 | CatchClause$1 | DebuggerStatement | AssignmentPattern$1 | ObjectPattern | BindingProperty$1 | ArrayPattern$1 | BindingRestElement$1 | Function$1 | FunctionBody | ArrowFunctionExpression$1 | YieldExpression$1 | Class$1 | ClassBody$1 | MethodDefinition$1 | PropertyDefinition$1 | PrivateIdentifier$1 | StaticBlock$1 | AccessorProperty$1 | ImportExpression$1 | ImportDeclaration$1 | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportAttribute$1 | ExportNamedDeclaration$1 | ExportDefaultDeclaration$1 | ExportAllDeclaration$1 | ExportSpecifier | V8IntrinsicExpression | BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | StringLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | JSXElement$1 | JSXOpeningElement$1 | JSXClosingElement | JSXFragment$1 | JSXOpeningFragment | JSXClosingFragment | JSXNamespacedName$1 | JSXMemberExpression$1 | JSXExpressionContainer$1 | JSXEmptyExpression | JSXAttribute$1 | JSXSpreadAttribute$1 | JSXIdentifier$1 | JSXSpreadChild$1 | JSXText$1 | TSThisParameter | TSEnumDeclaration$1 | TSEnumBody | TSEnumMember | TSTypeAnnotation$1 | TSLiteralType$1 | TSConditionalType$1 | TSUnionType$1 | TSIntersectionType$1 | TSParenthesizedType$1 | TSTypeOperator$1 | TSArrayType$1 | TSIndexedAccessType$1 | TSTupleType$1 | TSNamedTupleMember$1 | TSOptionalType$1 | TSRestType$1 | TSAnyKeyword | TSStringKeyword | TSBooleanKeyword | TSNumberKeyword | TSNeverKeyword | TSIntrinsicKeyword | TSUnknownKeyword | TSNullKeyword | TSUndefinedKeyword | TSVoidKeyword | TSSymbolKeyword | TSThisType | TSObjectKeyword | TSBigIntKeyword | TSTypeReference$1 | TSQualifiedName$1 | TSTypeParameterInstantiation$1 | TSTypeParameter | TSTypeParameterDeclaration$1 | TSTypeAliasDeclaration$1 | TSClassImplements | TSInterfaceDeclaration$1 | TSInterfaceBody$1 | TSPropertySignature$1 | TSIndexSignature$1 | TSCallSignatureDeclaration$1 | TSMethodSignature$1 | TSConstructSignatureDeclaration$1 | TSIndexSignatureName | TSInterfaceHeritage | TSTypePredicate$1 | TSModuleDeclaration$1 | TSGlobalDeclaration | TSModuleBlock$1 | TSTypeLiteral | TSInferType$1 | TSTypeQuery$1 | TSImportType$1 | TSImportTypeQualifiedName | TSFunctionType$1 | TSConstructorType$1 | TSMappedType$1 | TSTemplateLiteralType$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSImportEqualsDeclaration$1 | TSExternalModuleReference | TSNonNullExpression$1 | Decorator$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1 | TSInstantiationExpression$1 | JSDocNullableType$1 | JSDocNonNullableType$1 | JSDocUnknownType | ParamPattern$1;
|
|
2664
|
-
//#endregion
|
|
2665
|
-
//#region src/node.d.ts
|
|
2666
|
-
type Simplify<T> = { [K in keyof T]: T[K]; } & {};
|
|
2667
|
-
type Built<T> = T extends null | undefined ? T : T extends readonly unknown[] ? (number extends T['length'] ? Array<Built<T[number]>> : T) : T extends Span$1 ? { [K in keyof T as K extends keyof Span$1 ? never : K]: Child<T[K]>; } & Partial<Pick<T, keyof Span$1>> : T;
|
|
2668
|
-
type Child<T> = T extends null | undefined ? T : T extends readonly unknown[] ? (number extends T['length'] ? Array<Child<T[number]>> : T) : T extends Span$1 ? Built<T> | T : T;
|
|
2669
|
-
type Program = Simplify<Built<Program$1>>;
|
|
2670
|
-
type Node = Simplify<Built<Node$1>> | Node$1;
|
|
2671
|
-
//#endregion
|
|
2672
|
-
//#region src/ignorer.d.ts
|
|
2673
|
-
interface Ignorer {
|
|
2674
|
-
readonly name: string;
|
|
2675
|
-
shouldIgnore(node: Node, ancestors: readonly Node[]): string | undefined;
|
|
2676
|
-
}
|
|
2677
2672
|
//#endregion
|
|
2678
2673
|
//#region src/Location.schema.d.ts
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2674
|
+
declare const Offset: S.Int;
|
|
2675
|
+
type Offset = typeof Offset.Type;
|
|
2676
|
+
/** A 1-based line: the first line of a file is line 1. */
|
|
2677
|
+
declare const Line: S.Int;
|
|
2678
|
+
type Line = typeof Line.Type;
|
|
2679
|
+
/** A 1-based column: the first character of a line is column 1. */
|
|
2680
|
+
declare const Column: S.Int;
|
|
2681
|
+
type Column = typeof Column.Type;
|
|
2682
|
+
declare const Position: S.Struct<{
|
|
2687
2683
|
readonly line: S.Int;
|
|
2688
2684
|
readonly column: S.Int;
|
|
2689
2685
|
}>;
|
|
2690
|
-
type Position = typeof
|
|
2691
|
-
declare const
|
|
2692
|
-
readonly start:
|
|
2693
|
-
readonly line:
|
|
2694
|
-
readonly column:
|
|
2695
|
-
}
|
|
2696
|
-
readonly end:
|
|
2697
|
-
readonly line:
|
|
2698
|
-
readonly column:
|
|
2699
|
-
}
|
|
2686
|
+
type Position = typeof Position.Type;
|
|
2687
|
+
declare const Location: S.declare<{
|
|
2688
|
+
readonly start: {
|
|
2689
|
+
readonly line: number;
|
|
2690
|
+
readonly column: number;
|
|
2691
|
+
};
|
|
2692
|
+
readonly end: {
|
|
2693
|
+
readonly line: number;
|
|
2694
|
+
readonly column: number;
|
|
2695
|
+
};
|
|
2696
|
+
}, {
|
|
2697
|
+
readonly start: {
|
|
2698
|
+
readonly line: number;
|
|
2699
|
+
readonly column: number;
|
|
2700
|
+
};
|
|
2701
|
+
readonly end: {
|
|
2702
|
+
readonly line: number;
|
|
2703
|
+
readonly column: number;
|
|
2704
|
+
};
|
|
2700
2705
|
}>;
|
|
2701
|
-
type Location = typeof
|
|
2702
|
-
declare const
|
|
2703
|
-
readonly start:
|
|
2704
|
-
readonly line:
|
|
2705
|
-
readonly column:
|
|
2706
|
-
}
|
|
2707
|
-
readonly end
|
|
2708
|
-
readonly line:
|
|
2709
|
-
readonly column:
|
|
2710
|
-
}
|
|
2706
|
+
type Location = typeof Location.Type;
|
|
2707
|
+
declare const OpenEndLocation: S.declare<{
|
|
2708
|
+
readonly start: {
|
|
2709
|
+
readonly line: number;
|
|
2710
|
+
readonly column: number;
|
|
2711
|
+
};
|
|
2712
|
+
readonly end?: {
|
|
2713
|
+
readonly line: number;
|
|
2714
|
+
readonly column: number;
|
|
2715
|
+
} | undefined;
|
|
2716
|
+
}, {
|
|
2717
|
+
readonly start: {
|
|
2718
|
+
readonly line: number;
|
|
2719
|
+
readonly column: number;
|
|
2720
|
+
};
|
|
2721
|
+
readonly end?: {
|
|
2722
|
+
readonly line: number;
|
|
2723
|
+
readonly column: number;
|
|
2724
|
+
} | undefined;
|
|
2711
2725
|
}>;
|
|
2712
|
-
type OpenEndLocation = typeof
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
readonly
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
readonly
|
|
2723
|
-
|
|
2724
|
-
readonly column: S.Int;
|
|
2725
|
-
}>;
|
|
2726
|
+
type OpenEndLocation = typeof OpenEndLocation.Type;
|
|
2727
|
+
declare const Span: S.declare<{
|
|
2728
|
+
readonly start: number;
|
|
2729
|
+
readonly end: number;
|
|
2730
|
+
}, {
|
|
2731
|
+
readonly start: number;
|
|
2732
|
+
readonly end: number;
|
|
2733
|
+
}>;
|
|
2734
|
+
type Span = typeof Span.Type;
|
|
2735
|
+
declare const ScriptOrigin: S.Struct<{
|
|
2736
|
+
readonly line: S.Int;
|
|
2737
|
+
readonly columnShift: S.Int;
|
|
2726
2738
|
}>;
|
|
2739
|
+
type ScriptOrigin = typeof ScriptOrigin.Type;
|
|
2740
|
+
type LineStarts = Arr.NonEmptyReadonlyArray<Offset>;
|
|
2727
2741
|
//#endregion
|
|
2728
2742
|
//#region src/Syntax.schema.d.ts
|
|
2729
2743
|
declare const AstFormat: S.Literals<readonly ["js", "ts", "tsx"]>;
|
|
@@ -2741,7 +2755,7 @@ interface BaseAst {
|
|
|
2741
2755
|
originFileName: string;
|
|
2742
2756
|
rawContent: string;
|
|
2743
2757
|
root: Program;
|
|
2744
|
-
offset?:
|
|
2758
|
+
offset?: ScriptOrigin;
|
|
2745
2759
|
}
|
|
2746
2760
|
interface EmbeddedAst {
|
|
2747
2761
|
format: 'embedded';
|
|
@@ -2761,42 +2775,202 @@ interface JSAst extends BaseAst {
|
|
|
2761
2775
|
root: Program;
|
|
2762
2776
|
comments: readonly SpannedComment[];
|
|
2763
2777
|
}
|
|
2764
|
-
interface TSAst extends BaseAst {
|
|
2765
|
-
format: 'ts';
|
|
2766
|
-
root: Program;
|
|
2767
|
-
comments: readonly SpannedComment[];
|
|
2778
|
+
interface TSAst extends BaseAst {
|
|
2779
|
+
format: 'ts';
|
|
2780
|
+
root: Program;
|
|
2781
|
+
comments: readonly SpannedComment[];
|
|
2782
|
+
}
|
|
2783
|
+
interface TsxAst extends BaseAst {
|
|
2784
|
+
format: 'tsx';
|
|
2785
|
+
root: Program;
|
|
2786
|
+
comments: readonly SpannedComment[];
|
|
2787
|
+
}
|
|
2788
|
+
type ScriptAst = JSAst | TSAst | TsxAst;
|
|
2789
|
+
type Ast = JSAst | TSAst | TsxAst | EmbeddedAst;
|
|
2790
|
+
//#endregion
|
|
2791
|
+
//#region src/Instrument.schema.d.ts
|
|
2792
|
+
declare const InstrumentError_base: S.Class<InstrumentError, S.TaggedStruct<"InstrumentError", {
|
|
2793
|
+
readonly message: S.String;
|
|
2794
|
+
readonly cause: S.Defect;
|
|
2795
|
+
}>, import("effect/Cause").YieldableError>;
|
|
2796
|
+
declare class InstrumentError extends InstrumentError_base {
|
|
2797
|
+
get message(): string;
|
|
2798
|
+
}
|
|
2799
|
+
declare const MutateDescriptionSchema: S.Union<readonly [S.Boolean, S.$Array<S.declare<{
|
|
2800
|
+
readonly start: {
|
|
2801
|
+
readonly line: number;
|
|
2802
|
+
readonly column: number;
|
|
2803
|
+
};
|
|
2804
|
+
readonly end: {
|
|
2805
|
+
readonly line: number;
|
|
2806
|
+
readonly column: number;
|
|
2807
|
+
};
|
|
2808
|
+
}, {
|
|
2809
|
+
readonly start: {
|
|
2810
|
+
readonly line: number;
|
|
2811
|
+
readonly column: number;
|
|
2812
|
+
};
|
|
2813
|
+
readonly end: {
|
|
2814
|
+
readonly line: number;
|
|
2815
|
+
readonly column: number;
|
|
2816
|
+
};
|
|
2817
|
+
}>>]>;
|
|
2818
|
+
type MutateDescription = typeof MutateDescriptionSchema.Type;
|
|
2819
|
+
interface FileDescription {
|
|
2820
|
+
readonly mutate: MutateDescription;
|
|
2821
|
+
}
|
|
2822
|
+
type FileDescriptions = Record<string, FileDescription>;
|
|
2823
|
+
declare const InstrumenterOptionsSchema: S.Struct<{
|
|
2824
|
+
readonly excludedMutations: S.$Array<S.String>;
|
|
2825
|
+
readonly ignorers: S.$Array<S.Unknown>;
|
|
2826
|
+
readonly noHeader: S.optional<S.Boolean>;
|
|
2827
|
+
readonly optInMutations: S.optional<S.$Array<S.String>>;
|
|
2828
|
+
}>;
|
|
2829
|
+
type InstrumenterOptions = typeof InstrumenterOptionsSchema.Type;
|
|
2830
|
+
declare const InstrumentFileSkip_base: S.Class<InstrumentFileSkip, S.TaggedStruct<"InstrumentFileSkip", {
|
|
2831
|
+
readonly file: S.String;
|
|
2832
|
+
readonly extension: S.String;
|
|
2833
|
+
readonly reason: S.String;
|
|
2834
|
+
}>, {}>;
|
|
2835
|
+
declare class InstrumentFileSkip extends InstrumentFileSkip_base {}
|
|
2836
|
+
declare const InstrumentResult_base: S.Class<InstrumentResult$1, S.TaggedStruct<"InstrumentResult", {
|
|
2837
|
+
readonly files: S.$Array<S.Struct<{
|
|
2838
|
+
readonly name: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
2839
|
+
readonly content: S.String;
|
|
2840
|
+
readonly mutate: S.Union<readonly [S.Boolean, S.$Array<S.declare<{
|
|
2841
|
+
readonly start: {
|
|
2842
|
+
readonly line: number;
|
|
2843
|
+
readonly column: number;
|
|
2844
|
+
};
|
|
2845
|
+
readonly end: {
|
|
2846
|
+
readonly line: number;
|
|
2847
|
+
readonly column: number;
|
|
2848
|
+
};
|
|
2849
|
+
}, {
|
|
2850
|
+
readonly start: {
|
|
2851
|
+
readonly line: number;
|
|
2852
|
+
readonly column: number;
|
|
2853
|
+
};
|
|
2854
|
+
readonly end: {
|
|
2855
|
+
readonly line: number;
|
|
2856
|
+
readonly column: number;
|
|
2857
|
+
};
|
|
2858
|
+
}>>]>;
|
|
2859
|
+
}>>;
|
|
2860
|
+
readonly mutants: S.$Array<S.Struct<{
|
|
2861
|
+
readonly _tag: S.tag<"Mutant">;
|
|
2862
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
2863
|
+
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
2864
|
+
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
2865
|
+
readonly replacement: S.String;
|
|
2866
|
+
readonly location: S.declare<{
|
|
2867
|
+
readonly start: {
|
|
2868
|
+
readonly line: number;
|
|
2869
|
+
readonly column: number;
|
|
2870
|
+
};
|
|
2871
|
+
readonly end: {
|
|
2872
|
+
readonly line: number;
|
|
2873
|
+
readonly column: number;
|
|
2874
|
+
};
|
|
2875
|
+
}, {
|
|
2876
|
+
readonly start: {
|
|
2877
|
+
readonly line: number;
|
|
2878
|
+
readonly column: number;
|
|
2879
|
+
};
|
|
2880
|
+
readonly end: {
|
|
2881
|
+
readonly line: number;
|
|
2882
|
+
readonly column: number;
|
|
2883
|
+
};
|
|
2884
|
+
}>;
|
|
2885
|
+
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
2886
|
+
readonly statusReason: S.optional<S.String>;
|
|
2887
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
2888
|
+
readonly static: S.optional<S.Boolean>;
|
|
2889
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
2890
|
+
readonly description: S.optional<S.String>;
|
|
2891
|
+
}>>;
|
|
2892
|
+
readonly skipped: S.$Array<typeof InstrumentFileSkip>;
|
|
2893
|
+
}>, {}>;
|
|
2894
|
+
declare class InstrumentResult$1 extends InstrumentResult_base {}
|
|
2895
|
+
//#endregion
|
|
2896
|
+
//#region src/Parser.schema.d.ts
|
|
2897
|
+
declare const ParseFailed_base: S.Class<ParseFailed, S.TaggedStruct<"ParseFailed", {
|
|
2898
|
+
readonly fileName: S.String;
|
|
2899
|
+
readonly message: S.String;
|
|
2900
|
+
readonly location: S.Struct<{
|
|
2901
|
+
readonly line: S.Int;
|
|
2902
|
+
readonly column: S.Int;
|
|
2903
|
+
}>;
|
|
2904
|
+
readonly cause: S.Defect;
|
|
2905
|
+
}>, import("effect/Cause").YieldableError>;
|
|
2906
|
+
declare class ParseFailed extends ParseFailed_base {
|
|
2907
|
+
get message(): string;
|
|
2908
|
+
}
|
|
2909
|
+
//#endregion
|
|
2910
|
+
//#region src/Parser.service.d.ts
|
|
2911
|
+
interface ParserOptions {}
|
|
2912
|
+
interface ParserContext {
|
|
2913
|
+
parse: (code: string, fileName: string, scriptFormat: ScriptFormat) => Effect$1.Effect<ScriptAst, ParseFailed>;
|
|
2768
2914
|
}
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2915
|
+
//#endregion
|
|
2916
|
+
//#region src/print/PrintFailed.schema.d.ts
|
|
2917
|
+
declare const PrintFailed_base: S.Class<PrintFailed, S.TaggedStruct<"PrintFailed", {
|
|
2918
|
+
readonly message: S.String;
|
|
2919
|
+
}>, import("effect/Cause").YieldableError>;
|
|
2920
|
+
declare class PrintFailed extends PrintFailed_base {}
|
|
2921
|
+
//#endregion
|
|
2922
|
+
//#region src/Printer.d.ts
|
|
2923
|
+
interface PrinterContext {
|
|
2924
|
+
print: (file: Ast, context: PrinterContext) => Result.Result<string, PrintFailed>;
|
|
2773
2925
|
}
|
|
2774
|
-
type ScriptAst = JSAst | TSAst | TsxAst;
|
|
2775
|
-
type Ast = JSAst | TSAst | TsxAst | EmbeddedAst;
|
|
2776
2926
|
//#endregion
|
|
2777
2927
|
//#region src/Mutant.schema.d.ts
|
|
2778
2928
|
declare const MutantStatusSchema: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
2779
2929
|
type MutantStatus = typeof MutantStatusSchema.Type;
|
|
2780
|
-
declare const
|
|
2930
|
+
declare const SurvivorStatusSchema: S.Literals<readonly ["Survived", "NoCoverage"]>;
|
|
2931
|
+
type SurvivorStatus = typeof SurvivorStatusSchema.Type;
|
|
2932
|
+
declare const RememberedStatusSchema: S.Literals<readonly ["Survived", "Killed", "Timeout", "NoCoverage", "Ignored"]>;
|
|
2933
|
+
type RememberedStatus = typeof RememberedStatusSchema.Type;
|
|
2934
|
+
declare const EphemeralStatusSchema: S.Literals<readonly ["CompileError", "RuntimeError", "Pending"]>;
|
|
2935
|
+
type EphemeralStatus = typeof EphemeralStatusSchema.Type;
|
|
2936
|
+
declare const ActionableStatusSchema: S.Literals<readonly ["Survived", "NoCoverage", "Timeout", "RuntimeError"]>;
|
|
2937
|
+
type ActionableStatus = typeof ActionableStatusSchema.Type;
|
|
2938
|
+
declare const MutantId: S.brand<S.String, "MutantId">;
|
|
2781
2939
|
type MutantId = typeof MutantId.Type;
|
|
2782
2940
|
declare const MutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
2783
2941
|
type MutatorName = typeof MutatorName.Type;
|
|
2784
2942
|
declare const CanonicalFileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
2785
2943
|
type CanonicalFileName = typeof CanonicalFileName.Type;
|
|
2786
|
-
|
|
2787
|
-
|
|
2944
|
+
/**
|
|
2945
|
+
* A mutant's file location in the mutation-testing-report-schema contract:
|
|
2946
|
+
* 1-based line and 1-based column, the same base the JSON report and the
|
|
2947
|
+
* machine stream emit. Every producer on the instrument path (node spans,
|
|
2948
|
+
* embedded-region shifts) targets this base; no downstream layer converts.
|
|
2949
|
+
*/
|
|
2950
|
+
declare const Mutant$1: S.Struct<{
|
|
2951
|
+
readonly _tag: S.tag<"Mutant">;
|
|
2952
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
2788
2953
|
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
2789
2954
|
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
2790
2955
|
readonly replacement: S.String;
|
|
2791
|
-
readonly location: S.
|
|
2792
|
-
readonly start:
|
|
2793
|
-
readonly line:
|
|
2794
|
-
readonly column:
|
|
2795
|
-
}
|
|
2796
|
-
readonly end:
|
|
2797
|
-
readonly line:
|
|
2798
|
-
readonly column:
|
|
2799
|
-
}
|
|
2956
|
+
readonly location: S.declare<{
|
|
2957
|
+
readonly start: {
|
|
2958
|
+
readonly line: number;
|
|
2959
|
+
readonly column: number;
|
|
2960
|
+
};
|
|
2961
|
+
readonly end: {
|
|
2962
|
+
readonly line: number;
|
|
2963
|
+
readonly column: number;
|
|
2964
|
+
};
|
|
2965
|
+
}, {
|
|
2966
|
+
readonly start: {
|
|
2967
|
+
readonly line: number;
|
|
2968
|
+
readonly column: number;
|
|
2969
|
+
};
|
|
2970
|
+
readonly end: {
|
|
2971
|
+
readonly line: number;
|
|
2972
|
+
readonly column: number;
|
|
2973
|
+
};
|
|
2800
2974
|
}>;
|
|
2801
2975
|
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
2802
2976
|
readonly statusReason: S.optional<S.String>;
|
|
@@ -2804,15 +2978,40 @@ declare const Mutant_base: S.Class<Mutant$1, S.TaggedStruct<"Mutant", {
|
|
|
2804
2978
|
readonly static: S.optional<S.Boolean>;
|
|
2805
2979
|
readonly testsCompleted: S.optional<S.Finite>;
|
|
2806
2980
|
readonly description: S.optional<S.String>;
|
|
2807
|
-
}
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2981
|
+
}>;
|
|
2982
|
+
type Mutant$1 = typeof Mutant$1.Type;
|
|
2983
|
+
declare const MutantFromUnknown: S.compose<S.Struct<{
|
|
2984
|
+
readonly _tag: S.tag<"Mutant">;
|
|
2985
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
2986
|
+
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
2987
|
+
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
2988
|
+
readonly replacement: S.String;
|
|
2989
|
+
readonly location: S.declare<{
|
|
2990
|
+
readonly start: {
|
|
2991
|
+
readonly line: number;
|
|
2992
|
+
readonly column: number;
|
|
2993
|
+
};
|
|
2994
|
+
readonly end: {
|
|
2995
|
+
readonly line: number;
|
|
2996
|
+
readonly column: number;
|
|
2997
|
+
};
|
|
2998
|
+
}, {
|
|
2999
|
+
readonly start: {
|
|
3000
|
+
readonly line: number;
|
|
3001
|
+
readonly column: number;
|
|
3002
|
+
};
|
|
3003
|
+
readonly end: {
|
|
3004
|
+
readonly line: number;
|
|
3005
|
+
readonly column: number;
|
|
3006
|
+
};
|
|
3007
|
+
}>;
|
|
3008
|
+
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
3009
|
+
readonly statusReason: S.optional<S.String>;
|
|
3010
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
3011
|
+
readonly static: S.optional<S.Boolean>;
|
|
3012
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
3013
|
+
readonly description: S.optional<S.String>;
|
|
3014
|
+
}>, S.Unknown>;
|
|
2816
3015
|
type MutantFromUnknown = typeof MutantFromUnknown.Type;
|
|
2817
3016
|
declare const RunOptionsFields: {
|
|
2818
3017
|
timeout: S.Finite;
|
|
@@ -2820,10 +3019,42 @@ declare const RunOptionsFields: {
|
|
|
2820
3019
|
};
|
|
2821
3020
|
declare const MutantActivationSchema: S.Literals<readonly ["runtime", "static"]>;
|
|
2822
3021
|
type MutantActivation = typeof MutantActivationSchema.Type;
|
|
3022
|
+
declare const HitCount: S.Int;
|
|
2823
3023
|
declare const MutantRunOptionsSchema: S.Struct<{
|
|
2824
3024
|
readonly timeout: S.Finite;
|
|
2825
3025
|
readonly disableBail: S.Boolean;
|
|
2826
|
-
readonly activeMutant:
|
|
3026
|
+
readonly activeMutant: S.Struct<{
|
|
3027
|
+
readonly _tag: S.tag<"Mutant">;
|
|
3028
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3029
|
+
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
3030
|
+
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
3031
|
+
readonly replacement: S.String;
|
|
3032
|
+
readonly location: S.declare<{
|
|
3033
|
+
readonly start: {
|
|
3034
|
+
readonly line: number;
|
|
3035
|
+
readonly column: number;
|
|
3036
|
+
};
|
|
3037
|
+
readonly end: {
|
|
3038
|
+
readonly line: number;
|
|
3039
|
+
readonly column: number;
|
|
3040
|
+
};
|
|
3041
|
+
}, {
|
|
3042
|
+
readonly start: {
|
|
3043
|
+
readonly line: number;
|
|
3044
|
+
readonly column: number;
|
|
3045
|
+
};
|
|
3046
|
+
readonly end: {
|
|
3047
|
+
readonly line: number;
|
|
3048
|
+
readonly column: number;
|
|
3049
|
+
};
|
|
3050
|
+
}>;
|
|
3051
|
+
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
3052
|
+
readonly statusReason: S.optional<S.String>;
|
|
3053
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
3054
|
+
readonly static: S.optional<S.Boolean>;
|
|
3055
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
3056
|
+
readonly description: S.optional<S.String>;
|
|
3057
|
+
}>;
|
|
2827
3058
|
readonly sandboxFileName: S.String;
|
|
2828
3059
|
readonly mutantActivation: S.Literals<readonly ["runtime", "static"]>;
|
|
2829
3060
|
readonly reloadEnvironment: S.Boolean;
|
|
@@ -2831,8 +3062,8 @@ declare const MutantRunOptionsSchema: S.Struct<{
|
|
|
2831
3062
|
readonly hitLimit: S.optionalKey<S.Int>;
|
|
2832
3063
|
}>;
|
|
2833
3064
|
declare const MutantCoverageSchema$1: S.Struct<{
|
|
2834
|
-
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Int>>;
|
|
2835
|
-
readonly static: S.$Record<S.String, S.Int>;
|
|
3065
|
+
readonly perTest: S.$Record<S.String, S.$Record<S.brand<S.String, "MutantId">, S.Int>>;
|
|
3066
|
+
readonly static: S.$Record<S.brand<S.String, "MutantId">, S.Int>;
|
|
2836
3067
|
}>;
|
|
2837
3068
|
type MutantCoverage = typeof MutantCoverageSchema$1.Type;
|
|
2838
3069
|
type CoverageData = Record<string, number>;
|
|
@@ -2880,11 +3111,11 @@ declare const InstrumenterContext_base: S.Class<InstrumenterContext, S.Struct<{
|
|
|
2880
3111
|
readonly activeMutant: S.optional<S.String>;
|
|
2881
3112
|
readonly currentTestId: S.optional<S.String>;
|
|
2882
3113
|
readonly mutantCoverage: S.optional<S.Struct<{
|
|
2883
|
-
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Int>>;
|
|
2884
|
-
readonly static: S.$Record<S.String, S.Int>;
|
|
3114
|
+
readonly perTest: S.$Record<S.String, S.$Record<S.brand<S.String, "MutantId">, S.Int>>;
|
|
3115
|
+
readonly static: S.$Record<S.brand<S.String, "MutantId">, S.Int>;
|
|
2885
3116
|
}>>;
|
|
2886
|
-
readonly hitCount: S.optional<S.
|
|
2887
|
-
readonly hitLimit: S.optional<S.
|
|
3117
|
+
readonly hitCount: S.optional<S.Int>;
|
|
3118
|
+
readonly hitLimit: S.optional<S.Int>;
|
|
2888
3119
|
}>, {}>;
|
|
2889
3120
|
declare class InstrumenterContext extends InstrumenterContext_base {
|
|
2890
3121
|
static readonly NAMESPACE = "__stryker__";
|
|
@@ -2899,102 +3130,16 @@ type MutantRunPlan = RunPlan;
|
|
|
2899
3130
|
type MutantEarlyResultPlan = EarlyResultPlan;
|
|
2900
3131
|
type MutantTestPlan = TestPlan;
|
|
2901
3132
|
//#endregion
|
|
2902
|
-
//#region src/Instrument.schema.d.ts
|
|
2903
|
-
declare const InstrumentError_base: S.Class<InstrumentError, S.TaggedStruct<"InstrumentError", {
|
|
2904
|
-
readonly message: S.String;
|
|
2905
|
-
readonly cause: S.Defect;
|
|
2906
|
-
}>, import("effect/Cause").YieldableError>;
|
|
2907
|
-
declare class InstrumentError extends InstrumentError_base {
|
|
2908
|
-
get message(): string;
|
|
2909
|
-
}
|
|
2910
|
-
declare const MutateDescriptionSchema: S.Union<readonly [S.Boolean, S.$Array<S.Struct<{
|
|
2911
|
-
readonly start: S.Struct<{
|
|
2912
|
-
readonly line: S.Int;
|
|
2913
|
-
readonly column: S.Int;
|
|
2914
|
-
}>;
|
|
2915
|
-
readonly end: S.Struct<{
|
|
2916
|
-
readonly line: S.Int;
|
|
2917
|
-
readonly column: S.Int;
|
|
2918
|
-
}>;
|
|
2919
|
-
}>>]>;
|
|
2920
|
-
type MutateDescription = typeof MutateDescriptionSchema.Type;
|
|
2921
|
-
interface MutationRange {
|
|
2922
|
-
readonly start: Position;
|
|
2923
|
-
readonly end: Position;
|
|
2924
|
-
}
|
|
2925
|
-
interface FileDescription {
|
|
2926
|
-
readonly mutate: MutateDescription;
|
|
2927
|
-
}
|
|
2928
|
-
type FileDescriptions = Record<string, FileDescription>;
|
|
2929
|
-
declare const InstrumenterOptionsSchema: S.Struct<{
|
|
2930
|
-
readonly excludedMutations: S.$Array<S.String>;
|
|
2931
|
-
readonly ignorers: S.$Array<S.Unknown>;
|
|
2932
|
-
readonly noHeader: S.optional<S.Boolean>;
|
|
2933
|
-
readonly optInMutations: S.optional<S.$Array<S.String>>;
|
|
2934
|
-
}>;
|
|
2935
|
-
type InstrumenterOptions = typeof InstrumenterOptionsSchema.Type;
|
|
2936
|
-
declare const InstrumentFileSkip_base: S.Class<InstrumentFileSkip, S.TaggedStruct<"InstrumentFileSkip", {
|
|
2937
|
-
readonly file: S.String;
|
|
2938
|
-
readonly extension: S.String;
|
|
2939
|
-
readonly reason: S.String;
|
|
2940
|
-
}>, {}>;
|
|
2941
|
-
declare class InstrumentFileSkip extends InstrumentFileSkip_base {}
|
|
2942
|
-
declare const InstrumentResult_base: S.Class<InstrumentResult$1, S.TaggedStruct<"InstrumentResult", {
|
|
2943
|
-
readonly files: S.$Array<S.Struct<{
|
|
2944
|
-
readonly name: S.String;
|
|
2945
|
-
readonly content: S.String;
|
|
2946
|
-
readonly mutate: S.Union<readonly [S.Boolean, S.$Array<S.Struct<{
|
|
2947
|
-
readonly start: S.Struct<{
|
|
2948
|
-
readonly line: S.Int;
|
|
2949
|
-
readonly column: S.Int;
|
|
2950
|
-
}>;
|
|
2951
|
-
readonly end: S.Struct<{
|
|
2952
|
-
readonly line: S.Int;
|
|
2953
|
-
readonly column: S.Int;
|
|
2954
|
-
}>;
|
|
2955
|
-
}>>]>;
|
|
2956
|
-
}>>;
|
|
2957
|
-
readonly mutants: S.$Array<typeof Mutant$1>;
|
|
2958
|
-
readonly skipped: S.$Array<typeof InstrumentFileSkip>;
|
|
2959
|
-
}>, {}>;
|
|
2960
|
-
declare class InstrumentResult$1 extends InstrumentResult_base {}
|
|
2961
|
-
//#endregion
|
|
2962
|
-
//#region src/Parser.schema.d.ts
|
|
2963
|
-
declare const ParseFailed_base: S.Class<ParseFailed, S.TaggedStruct<"ParseFailed", {
|
|
2964
|
-
readonly fileName: S.String;
|
|
2965
|
-
readonly message: S.String;
|
|
2966
|
-
readonly location: S.Struct<{
|
|
2967
|
-
readonly line: S.Finite;
|
|
2968
|
-
readonly column: S.Finite;
|
|
2969
|
-
}>;
|
|
2970
|
-
readonly cause: S.Defect;
|
|
2971
|
-
}>, import("effect/Cause").YieldableError>;
|
|
2972
|
-
declare class ParseFailed extends ParseFailed_base {
|
|
2973
|
-
get message(): string;
|
|
2974
|
-
}
|
|
2975
|
-
//#endregion
|
|
2976
|
-
//#region src/Parser.service.d.ts
|
|
2977
|
-
interface ParserOptions {}
|
|
2978
|
-
interface ParserContext {
|
|
2979
|
-
parse: (code: string, fileName: string, scriptFormat: ScriptFormat) => Effect$1.Effect<ScriptAst, ParseFailed>;
|
|
2980
|
-
}
|
|
2981
|
-
//#endregion
|
|
2982
|
-
//#region src/Printer.d.ts
|
|
2983
|
-
type Printer<T extends Ast = Ast> = (file: T, context: PrinterContext) => string;
|
|
2984
|
-
interface PrinterContext {
|
|
2985
|
-
print: Printer<Ast>;
|
|
2986
|
-
}
|
|
2987
|
-
//#endregion
|
|
2988
3133
|
//#region src/Mutator.service.d.ts
|
|
2989
3134
|
interface Mutable {
|
|
2990
3135
|
mutatorName: string;
|
|
2991
3136
|
ignoreReason?: string | undefined;
|
|
2992
|
-
replacement:
|
|
3137
|
+
replacement: Node_2;
|
|
2993
3138
|
}
|
|
2994
3139
|
interface Mutant extends Mutable {
|
|
2995
|
-
readonly id:
|
|
3140
|
+
readonly id: MutantId;
|
|
2996
3141
|
readonly fileName: string;
|
|
2997
|
-
readonly original:
|
|
3142
|
+
readonly original: Node_2;
|
|
2998
3143
|
readonly location: Location;
|
|
2999
3144
|
readonly replacementCode: string;
|
|
3000
3145
|
}
|
|
@@ -3091,53 +3236,61 @@ declare const disableTypeChecks: {
|
|
|
3091
3236
|
(registry?: FormatRegistry): (file: File) => Effect$1.Effect<File, InstrumentError>;
|
|
3092
3237
|
};
|
|
3093
3238
|
declare namespace mod_d_exports$2$1 {
|
|
3094
|
-
export { File, FileDescription, FileDescriptions, InstrumentError, InstrumentFileSkip, InstrumentResult, InstrumenterOptions, MutateDescription,
|
|
3239
|
+
export { File, FileDescription, FileDescriptions, InstrumentError, InstrumentFileSkip, InstrumentResult, InstrumenterOptions, MutateDescription, ParserOptions, disableTypeChecks, instrument };
|
|
3095
3240
|
}
|
|
3096
3241
|
declare namespace mod_d_exports$3$1 {
|
|
3097
|
-
export { CanonicalFileName, CanonicalFileName as CanonicalFileNameValue, Coverage, CoverageData, CoveragePerTestId, EarlyResultPlan, InstrumenterContext,
|
|
3242
|
+
export { ActionableStatus, ActionableStatusSchema, CanonicalFileName, CanonicalFileName as CanonicalFileNameValue, Column, Coverage, CoverageData, CoveragePerTestId, EarlyResultPlan, EphemeralStatus, EphemeralStatusSchema, HitCount, InstrumenterContext, Line, LineStarts, Location, Mutant$1 as Mutant, MutantActivation, MutantActivationSchema, MutantCoverage, MutantCoverageSchema$1 as MutantCoverageSchema, MutantEarlyResultPlan, MutantFromUnknown, MutantFromUnknown as MutantFromUnknownValue, MutantId, MutantId as MutantIdValue, MutantRunOptions, MutantRunOptionsSchema, MutantRunPlan, MutantStatus, MutantStatusSchema, MutantTestCoverage, MutantTestPlan, MutatorName, MutatorName as MutatorNameValue, Offset, OpenEndLocation, Position, RememberedStatus, RememberedStatusSchema, RunMutantResult, RunOptions, RunOptionsFields, RunPlan, ScriptOrigin, Span, SurvivorStatus, SurvivorStatusSchema, TestPlan };
|
|
3098
3243
|
}
|
|
3099
3244
|
//#endregion
|
|
3100
3245
|
//#region ../stryker-js-plugin-interface/dist/index.d.mts
|
|
3101
3246
|
//#region src/Checker.schema.d.ts
|
|
3102
3247
|
declare const CheckerMutantWire: S.Struct<{
|
|
3103
|
-
readonly id: S.brand<S.
|
|
3248
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3104
3249
|
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
3105
3250
|
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
3106
3251
|
readonly replacement: S.String;
|
|
3107
|
-
readonly location: S.
|
|
3108
|
-
readonly start:
|
|
3109
|
-
readonly line:
|
|
3110
|
-
readonly column:
|
|
3111
|
-
}
|
|
3112
|
-
readonly end:
|
|
3113
|
-
readonly line:
|
|
3114
|
-
readonly column:
|
|
3115
|
-
}
|
|
3252
|
+
readonly location: S.declare<{
|
|
3253
|
+
readonly start: {
|
|
3254
|
+
readonly line: number;
|
|
3255
|
+
readonly column: number;
|
|
3256
|
+
};
|
|
3257
|
+
readonly end: {
|
|
3258
|
+
readonly line: number;
|
|
3259
|
+
readonly column: number;
|
|
3260
|
+
};
|
|
3261
|
+
}, {
|
|
3262
|
+
readonly start: {
|
|
3263
|
+
readonly line: number;
|
|
3264
|
+
readonly column: number;
|
|
3265
|
+
};
|
|
3266
|
+
readonly end: {
|
|
3267
|
+
readonly line: number;
|
|
3268
|
+
readonly column: number;
|
|
3269
|
+
};
|
|
3116
3270
|
}>;
|
|
3117
3271
|
}>;
|
|
3118
3272
|
type CheckerMutantWire = typeof CheckerMutantWire.Type;
|
|
3119
|
-
declare const
|
|
3120
|
-
type CheckStatus = typeof CheckStatus.Type;
|
|
3121
|
-
declare const CheckResultSchema: S.Union<readonly [S.Struct<{
|
|
3273
|
+
declare const CheckResultSchema: S.toTaggedUnion<"status", readonly [S.Struct<{
|
|
3122
3274
|
readonly status: S.Literal<"passed">;
|
|
3123
3275
|
}>, S.Struct<{
|
|
3124
3276
|
readonly status: S.Literal<"compileError">;
|
|
3125
3277
|
readonly reason: S.String;
|
|
3126
3278
|
}>]>;
|
|
3279
|
+
declare const CheckStatus: S.Literals<readonly ["passed", "compileError"]>;
|
|
3280
|
+
type CheckStatus = typeof CheckStatus.Type;
|
|
3127
3281
|
declare const CheckerFailed_base: S.Class<CheckerFailed, S.TaggedStruct<"CheckerFailed", {
|
|
3128
3282
|
readonly cause: S.String;
|
|
3129
3283
|
readonly checkerName: S.String;
|
|
3130
|
-
readonly mutantIds: S.$Array<S.String
|
|
3284
|
+
readonly mutantIds: S.$Array<S.brand<S.String, "MutantId">>;
|
|
3131
3285
|
}>, import("effect/Cause").YieldableError>;
|
|
3132
3286
|
declare class CheckerFailed extends CheckerFailed_base {}
|
|
3133
|
-
|
|
3134
|
-
|
|
3287
|
+
type CheckResult = typeof CheckResultSchema.Type;
|
|
3288
|
+
type FailedCheckResult = Extract<CheckResult, {
|
|
3135
3289
|
readonly status: 'compileError';
|
|
3136
|
-
}
|
|
3137
|
-
|
|
3290
|
+
}>;
|
|
3291
|
+
type PassedCheckResult = Extract<CheckResult, {
|
|
3138
3292
|
readonly status: 'passed';
|
|
3139
|
-
}
|
|
3140
|
-
type CheckResult = FailedCheckResult | PassedCheckResult;
|
|
3293
|
+
}>;
|
|
3141
3294
|
//#endregion
|
|
3142
3295
|
//#region src/Checker.service.d.ts
|
|
3143
3296
|
interface CheckerService {
|
|
@@ -3151,25 +3304,34 @@ declare namespace mod_d_exports {
|
|
|
3151
3304
|
export { CheckResult, CheckResultSchema, CheckStatus, Checker, CheckerFailed, CheckerMutantWire, CheckerService, FailedCheckResult, PassedCheckResult };
|
|
3152
3305
|
}
|
|
3153
3306
|
declare const MutantResultSchema: S.Struct<{
|
|
3154
|
-
readonly id: S.String
|
|
3307
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3155
3308
|
readonly mutatorName: S.String;
|
|
3156
3309
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3157
|
-
readonly location: S.
|
|
3158
|
-
readonly start:
|
|
3159
|
-
readonly line:
|
|
3160
|
-
readonly column:
|
|
3161
|
-
}
|
|
3162
|
-
readonly end:
|
|
3163
|
-
readonly line:
|
|
3164
|
-
readonly column:
|
|
3165
|
-
}
|
|
3310
|
+
readonly location: S.declare<{
|
|
3311
|
+
readonly start: {
|
|
3312
|
+
readonly line: number;
|
|
3313
|
+
readonly column: number;
|
|
3314
|
+
};
|
|
3315
|
+
readonly end: {
|
|
3316
|
+
readonly line: number;
|
|
3317
|
+
readonly column: number;
|
|
3318
|
+
};
|
|
3319
|
+
}, {
|
|
3320
|
+
readonly start: {
|
|
3321
|
+
readonly line: number;
|
|
3322
|
+
readonly column: number;
|
|
3323
|
+
};
|
|
3324
|
+
readonly end: {
|
|
3325
|
+
readonly line: number;
|
|
3326
|
+
readonly column: number;
|
|
3327
|
+
};
|
|
3166
3328
|
}>;
|
|
3167
3329
|
readonly replacement: S.optional<S.String>;
|
|
3168
3330
|
readonly description: S.optional<S.String>;
|
|
3169
3331
|
readonly statusReason: S.optional<S.String>;
|
|
3170
3332
|
readonly static: S.optional<S.Boolean>;
|
|
3171
|
-
readonly coveredBy: S.optional<S.$Array<S.
|
|
3172
|
-
readonly killedBy: S.optional<S.$Array<S.
|
|
3333
|
+
readonly coveredBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3334
|
+
readonly killedBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3173
3335
|
readonly testsCompleted: S.optional<S.Int>;
|
|
3174
3336
|
readonly duration: S.optional<S.Finite>;
|
|
3175
3337
|
}>;
|
|
@@ -3178,25 +3340,34 @@ declare const FileResultSchema: S.Struct<{
|
|
|
3178
3340
|
readonly language: S.String;
|
|
3179
3341
|
readonly source: S.String;
|
|
3180
3342
|
readonly mutants: S.$Array<S.Struct<{
|
|
3181
|
-
readonly id: S.String
|
|
3343
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3182
3344
|
readonly mutatorName: S.String;
|
|
3183
3345
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3184
|
-
readonly location: S.
|
|
3185
|
-
readonly start:
|
|
3186
|
-
readonly line:
|
|
3187
|
-
readonly column:
|
|
3188
|
-
}
|
|
3189
|
-
readonly end:
|
|
3190
|
-
readonly line:
|
|
3191
|
-
readonly column:
|
|
3192
|
-
}
|
|
3346
|
+
readonly location: S.declare<{
|
|
3347
|
+
readonly start: {
|
|
3348
|
+
readonly line: number;
|
|
3349
|
+
readonly column: number;
|
|
3350
|
+
};
|
|
3351
|
+
readonly end: {
|
|
3352
|
+
readonly line: number;
|
|
3353
|
+
readonly column: number;
|
|
3354
|
+
};
|
|
3355
|
+
}, {
|
|
3356
|
+
readonly start: {
|
|
3357
|
+
readonly line: number;
|
|
3358
|
+
readonly column: number;
|
|
3359
|
+
};
|
|
3360
|
+
readonly end: {
|
|
3361
|
+
readonly line: number;
|
|
3362
|
+
readonly column: number;
|
|
3363
|
+
};
|
|
3193
3364
|
}>;
|
|
3194
3365
|
readonly replacement: S.optional<S.String>;
|
|
3195
3366
|
readonly description: S.optional<S.String>;
|
|
3196
3367
|
readonly statusReason: S.optional<S.String>;
|
|
3197
3368
|
readonly static: S.optional<S.Boolean>;
|
|
3198
|
-
readonly coveredBy: S.optional<S.$Array<S.
|
|
3199
|
-
readonly killedBy: S.optional<S.$Array<S.
|
|
3369
|
+
readonly coveredBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3370
|
+
readonly killedBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3200
3371
|
readonly testsCompleted: S.optional<S.Int>;
|
|
3201
3372
|
readonly duration: S.optional<S.Finite>;
|
|
3202
3373
|
}>>;
|
|
@@ -3206,59 +3377,86 @@ declare const FileResultDictionarySchema: S.$Record<S.String, S.Struct<{
|
|
|
3206
3377
|
readonly language: S.String;
|
|
3207
3378
|
readonly source: S.String;
|
|
3208
3379
|
readonly mutants: S.$Array<S.Struct<{
|
|
3209
|
-
readonly id: S.String
|
|
3380
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3210
3381
|
readonly mutatorName: S.String;
|
|
3211
3382
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3212
|
-
readonly location: S.
|
|
3213
|
-
readonly start:
|
|
3214
|
-
readonly line:
|
|
3215
|
-
readonly column:
|
|
3216
|
-
}
|
|
3217
|
-
readonly end:
|
|
3218
|
-
readonly line:
|
|
3219
|
-
readonly column:
|
|
3220
|
-
}
|
|
3383
|
+
readonly location: S.declare<{
|
|
3384
|
+
readonly start: {
|
|
3385
|
+
readonly line: number;
|
|
3386
|
+
readonly column: number;
|
|
3387
|
+
};
|
|
3388
|
+
readonly end: {
|
|
3389
|
+
readonly line: number;
|
|
3390
|
+
readonly column: number;
|
|
3391
|
+
};
|
|
3392
|
+
}, {
|
|
3393
|
+
readonly start: {
|
|
3394
|
+
readonly line: number;
|
|
3395
|
+
readonly column: number;
|
|
3396
|
+
};
|
|
3397
|
+
readonly end: {
|
|
3398
|
+
readonly line: number;
|
|
3399
|
+
readonly column: number;
|
|
3400
|
+
};
|
|
3221
3401
|
}>;
|
|
3222
3402
|
readonly replacement: S.optional<S.String>;
|
|
3223
3403
|
readonly description: S.optional<S.String>;
|
|
3224
3404
|
readonly statusReason: S.optional<S.String>;
|
|
3225
3405
|
readonly static: S.optional<S.Boolean>;
|
|
3226
|
-
readonly coveredBy: S.optional<S.$Array<S.
|
|
3227
|
-
readonly killedBy: S.optional<S.$Array<S.
|
|
3406
|
+
readonly coveredBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3407
|
+
readonly killedBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3228
3408
|
readonly testsCompleted: S.optional<S.Int>;
|
|
3229
3409
|
readonly duration: S.optional<S.Finite>;
|
|
3230
3410
|
}>>;
|
|
3231
3411
|
}>>;
|
|
3232
3412
|
type FileResultDictionary = typeof FileResultDictionarySchema.Type;
|
|
3233
3413
|
declare const TestDefinitionSchema: S.Struct<{
|
|
3234
|
-
readonly id: S.
|
|
3414
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3235
3415
|
readonly name: S.String;
|
|
3236
|
-
readonly location: S.optional<S.
|
|
3237
|
-
readonly start:
|
|
3238
|
-
readonly line:
|
|
3239
|
-
readonly column:
|
|
3240
|
-
}
|
|
3241
|
-
readonly end
|
|
3242
|
-
readonly line:
|
|
3243
|
-
readonly column:
|
|
3244
|
-
}
|
|
3416
|
+
readonly location: S.optional<S.declare<{
|
|
3417
|
+
readonly start: {
|
|
3418
|
+
readonly line: number;
|
|
3419
|
+
readonly column: number;
|
|
3420
|
+
};
|
|
3421
|
+
readonly end?: {
|
|
3422
|
+
readonly line: number;
|
|
3423
|
+
readonly column: number;
|
|
3424
|
+
} | undefined;
|
|
3425
|
+
}, {
|
|
3426
|
+
readonly start: {
|
|
3427
|
+
readonly line: number;
|
|
3428
|
+
readonly column: number;
|
|
3429
|
+
};
|
|
3430
|
+
readonly end?: {
|
|
3431
|
+
readonly line: number;
|
|
3432
|
+
readonly column: number;
|
|
3433
|
+
} | undefined;
|
|
3245
3434
|
}>>;
|
|
3246
3435
|
}>;
|
|
3247
3436
|
type TestDefinition = typeof TestDefinitionSchema.Type;
|
|
3248
3437
|
declare const TestFileSchema: S.Struct<{
|
|
3249
3438
|
readonly source: S.optional<S.String>;
|
|
3250
3439
|
readonly tests: S.$Array<S.Struct<{
|
|
3251
|
-
readonly id: S.
|
|
3440
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3252
3441
|
readonly name: S.String;
|
|
3253
|
-
readonly location: S.optional<S.
|
|
3254
|
-
readonly start:
|
|
3255
|
-
readonly line:
|
|
3256
|
-
readonly column:
|
|
3257
|
-
}
|
|
3258
|
-
readonly end
|
|
3259
|
-
readonly line:
|
|
3260
|
-
readonly column:
|
|
3261
|
-
}
|
|
3442
|
+
readonly location: S.optional<S.declare<{
|
|
3443
|
+
readonly start: {
|
|
3444
|
+
readonly line: number;
|
|
3445
|
+
readonly column: number;
|
|
3446
|
+
};
|
|
3447
|
+
readonly end?: {
|
|
3448
|
+
readonly line: number;
|
|
3449
|
+
readonly column: number;
|
|
3450
|
+
} | undefined;
|
|
3451
|
+
}, {
|
|
3452
|
+
readonly start: {
|
|
3453
|
+
readonly line: number;
|
|
3454
|
+
readonly column: number;
|
|
3455
|
+
};
|
|
3456
|
+
readonly end?: {
|
|
3457
|
+
readonly line: number;
|
|
3458
|
+
readonly column: number;
|
|
3459
|
+
} | undefined;
|
|
3262
3460
|
}>>;
|
|
3263
3461
|
}>>;
|
|
3264
3462
|
}>;
|
|
@@ -3266,31 +3464,48 @@ type TestFile = typeof TestFileSchema.Type;
|
|
|
3266
3464
|
declare const TestFileDefinitionDictionarySchema: S.$Record<S.String, S.Struct<{
|
|
3267
3465
|
readonly source: S.optional<S.String>;
|
|
3268
3466
|
readonly tests: S.$Array<S.Struct<{
|
|
3269
|
-
readonly id: S.
|
|
3467
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3270
3468
|
readonly name: S.String;
|
|
3271
|
-
readonly location: S.optional<S.
|
|
3272
|
-
readonly start:
|
|
3273
|
-
readonly line:
|
|
3274
|
-
readonly column:
|
|
3275
|
-
}
|
|
3276
|
-
readonly end
|
|
3277
|
-
readonly line:
|
|
3278
|
-
readonly column:
|
|
3279
|
-
}
|
|
3469
|
+
readonly location: S.optional<S.declare<{
|
|
3470
|
+
readonly start: {
|
|
3471
|
+
readonly line: number;
|
|
3472
|
+
readonly column: number;
|
|
3473
|
+
};
|
|
3474
|
+
readonly end?: {
|
|
3475
|
+
readonly line: number;
|
|
3476
|
+
readonly column: number;
|
|
3477
|
+
} | undefined;
|
|
3478
|
+
}, {
|
|
3479
|
+
readonly start: {
|
|
3480
|
+
readonly line: number;
|
|
3481
|
+
readonly column: number;
|
|
3482
|
+
};
|
|
3483
|
+
readonly end?: {
|
|
3484
|
+
readonly line: number;
|
|
3485
|
+
readonly column: number;
|
|
3486
|
+
} | undefined;
|
|
3280
3487
|
}>>;
|
|
3281
3488
|
}>>;
|
|
3282
3489
|
}>>;
|
|
3283
3490
|
type TestFileDefinitionDictionary = typeof TestFileDefinitionDictionarySchema.Type;
|
|
3284
|
-
declare const
|
|
3491
|
+
declare const OrderedThresholds: S.declare<{
|
|
3285
3492
|
readonly high: number;
|
|
3286
3493
|
readonly low: number;
|
|
3494
|
+
readonly break: number | null;
|
|
3287
3495
|
}, {
|
|
3288
3496
|
readonly high: number;
|
|
3289
3497
|
readonly low: number;
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3498
|
+
readonly break: number | null;
|
|
3499
|
+
}>;
|
|
3500
|
+
declare const ThresholdsSchema: S.declare<{
|
|
3501
|
+
readonly high: number;
|
|
3502
|
+
readonly low: number;
|
|
3503
|
+
readonly break: number | null;
|
|
3504
|
+
}, {
|
|
3505
|
+
readonly high: number;
|
|
3506
|
+
readonly low: number;
|
|
3507
|
+
readonly break: number | null;
|
|
3508
|
+
}>;
|
|
3294
3509
|
type Thresholds = typeof ThresholdsSchema.Type;
|
|
3295
3510
|
declare const BrandingInformationSchema: S.Struct<{
|
|
3296
3511
|
readonly homepageUrl: S.String;
|
|
@@ -3315,54 +3530,71 @@ declare const MutationTestResultSchema: S.Struct<{
|
|
|
3315
3530
|
readonly language: S.String;
|
|
3316
3531
|
readonly source: S.String;
|
|
3317
3532
|
readonly mutants: S.$Array<S.Struct<{
|
|
3318
|
-
readonly id: S.String
|
|
3533
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3319
3534
|
readonly mutatorName: S.String;
|
|
3320
3535
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3321
|
-
readonly location: S.
|
|
3322
|
-
readonly start:
|
|
3323
|
-
readonly line:
|
|
3324
|
-
readonly column:
|
|
3325
|
-
}
|
|
3326
|
-
readonly end:
|
|
3327
|
-
readonly line:
|
|
3328
|
-
readonly column:
|
|
3329
|
-
}
|
|
3536
|
+
readonly location: S.declare<{
|
|
3537
|
+
readonly start: {
|
|
3538
|
+
readonly line: number;
|
|
3539
|
+
readonly column: number;
|
|
3540
|
+
};
|
|
3541
|
+
readonly end: {
|
|
3542
|
+
readonly line: number;
|
|
3543
|
+
readonly column: number;
|
|
3544
|
+
};
|
|
3545
|
+
}, {
|
|
3546
|
+
readonly start: {
|
|
3547
|
+
readonly line: number;
|
|
3548
|
+
readonly column: number;
|
|
3549
|
+
};
|
|
3550
|
+
readonly end: {
|
|
3551
|
+
readonly line: number;
|
|
3552
|
+
readonly column: number;
|
|
3553
|
+
};
|
|
3330
3554
|
}>;
|
|
3331
3555
|
readonly replacement: S.optional<S.String>;
|
|
3332
3556
|
readonly description: S.optional<S.String>;
|
|
3333
3557
|
readonly statusReason: S.optional<S.String>;
|
|
3334
3558
|
readonly static: S.optional<S.Boolean>;
|
|
3335
|
-
readonly coveredBy: S.optional<S.$Array<S.
|
|
3336
|
-
readonly killedBy: S.optional<S.$Array<S.
|
|
3559
|
+
readonly coveredBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3560
|
+
readonly killedBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3337
3561
|
readonly testsCompleted: S.optional<S.Int>;
|
|
3338
3562
|
readonly duration: S.optional<S.Finite>;
|
|
3339
3563
|
}>>;
|
|
3340
3564
|
}>>;
|
|
3341
|
-
readonly thresholds: S.
|
|
3565
|
+
readonly thresholds: S.declare<{
|
|
3342
3566
|
readonly high: number;
|
|
3343
3567
|
readonly low: number;
|
|
3568
|
+
readonly break: number | null;
|
|
3344
3569
|
}, {
|
|
3345
3570
|
readonly high: number;
|
|
3346
3571
|
readonly low: number;
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
readonly low: S.Finite;
|
|
3350
|
-
}>, never, never>;
|
|
3572
|
+
readonly break: number | null;
|
|
3573
|
+
}>;
|
|
3351
3574
|
readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
3352
3575
|
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
3353
3576
|
readonly source: S.optional<S.String>;
|
|
3354
3577
|
readonly tests: S.$Array<S.Struct<{
|
|
3355
|
-
readonly id: S.
|
|
3578
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3356
3579
|
readonly name: S.String;
|
|
3357
|
-
readonly location: S.optional<S.
|
|
3358
|
-
readonly start:
|
|
3359
|
-
readonly line:
|
|
3360
|
-
readonly column:
|
|
3361
|
-
}
|
|
3362
|
-
readonly end
|
|
3363
|
-
readonly line:
|
|
3364
|
-
readonly column:
|
|
3365
|
-
}
|
|
3580
|
+
readonly location: S.optional<S.declare<{
|
|
3581
|
+
readonly start: {
|
|
3582
|
+
readonly line: number;
|
|
3583
|
+
readonly column: number;
|
|
3584
|
+
};
|
|
3585
|
+
readonly end?: {
|
|
3586
|
+
readonly line: number;
|
|
3587
|
+
readonly column: number;
|
|
3588
|
+
} | undefined;
|
|
3589
|
+
}, {
|
|
3590
|
+
readonly start: {
|
|
3591
|
+
readonly line: number;
|
|
3592
|
+
readonly column: number;
|
|
3593
|
+
};
|
|
3594
|
+
readonly end?: {
|
|
3595
|
+
readonly line: number;
|
|
3596
|
+
readonly column: number;
|
|
3597
|
+
} | undefined;
|
|
3366
3598
|
}>>;
|
|
3367
3599
|
}>>;
|
|
3368
3600
|
}>>>;
|
|
@@ -3380,6 +3612,8 @@ declare const MutationTestResultSchema: S.Struct<{
|
|
|
3380
3612
|
type MutationTestResult = typeof MutationTestResultSchema.Type;
|
|
3381
3613
|
//#endregion
|
|
3382
3614
|
//#region src/ExitClass.schema.d.ts
|
|
3615
|
+
declare const ExitCode: S.Int;
|
|
3616
|
+
type ExitCode = typeof ExitCode.Type;
|
|
3383
3617
|
declare const ExitClass: S.Literals<readonly ["VerdictFail", "ConfigError", "RuntimeError", "InternalError"]>;
|
|
3384
3618
|
type ExitClass = typeof ExitClass.Type;
|
|
3385
3619
|
declare const ExitCodeFromClass: S.decodeTo<S.Literals<readonly [1, 2, 3, 4]>, S.Literals<readonly ["VerdictFail", "ConfigError", "RuntimeError", "InternalError"]>, never, never>;
|
|
@@ -3457,7 +3691,7 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
3457
3691
|
readonly options: S.optionalKey<S.$Record<S.String, S.Unknown>>;
|
|
3458
3692
|
}>>, never>;
|
|
3459
3693
|
readonly checkerNodeArgs: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
3460
|
-
readonly concurrency: S.optionalKey<S.Union<readonly [S.
|
|
3694
|
+
readonly concurrency: S.optionalKey<S.Union<readonly [S.Int, S.String]>>;
|
|
3461
3695
|
readonly commandRunner: S.withDecodingDefaultKey<S.StructWithRest<S.Struct<{
|
|
3462
3696
|
readonly command: S.withDecodingDefaultKey<S.String, never>;
|
|
3463
3697
|
}>, readonly [S.$Record<S.String, S.Unknown>]>, never>;
|
|
@@ -3466,7 +3700,7 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
3466
3700
|
readonly allowColor: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3467
3701
|
readonly allowEmojis: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3468
3702
|
readonly logTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3469
|
-
readonly maxTestsToLog: S.withDecodingDefaultKey<S.
|
|
3703
|
+
readonly maxTestsToLog: S.withDecodingDefaultKey<S.Int, never>;
|
|
3470
3704
|
readonly reportTests: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3471
3705
|
readonly reportMutants: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3472
3706
|
readonly reportScoreTable: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
@@ -3482,8 +3716,8 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
3482
3716
|
readonly fileLogLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
3483
3717
|
readonly inPlace: S.withDecodingDefaultKey<S.Boolean, never>;
|
|
3484
3718
|
readonly logLevel: S.withDecodingDefaultKey<S.Literals<readonly ["off", "fatal", "error", "warn", "info", "debug", "trace"]>, never>;
|
|
3485
|
-
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.
|
|
3486
|
-
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.
|
|
3719
|
+
readonly maxConcurrentTestRunners: S.withDecodingDefaultKey<S.Int, never>;
|
|
3720
|
+
readonly maxTestRunnerReuse: S.withDecodingDefaultKey<S.Int, never>;
|
|
3487
3721
|
readonly mutate: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
3488
3722
|
readonly mutator: S.withDecodingDefaultKey<S.Struct<{
|
|
3489
3723
|
readonly excludedMutations: S.withDecodingDefaultKey<S.$Array<S.String>, never>;
|
|
@@ -3523,7 +3757,7 @@ declare const StrykerOptionsSchema: S.StructWithRest<S.Struct<{
|
|
|
3523
3757
|
readonly break: S.withDecodingDefaultKey<S.NullOr<S.Finite>, never>;
|
|
3524
3758
|
}>, never, never>, never>;
|
|
3525
3759
|
readonly timeoutFactor: S.withDecodingDefaultKey<S.Finite, never>;
|
|
3526
|
-
readonly timeoutMS: S.withDecodingDefaultKey<S.
|
|
3760
|
+
readonly timeoutMS: S.withDecodingDefaultKey<S.Int, never>;
|
|
3527
3761
|
readonly dryRunTimeoutMinutes: S.withDecodingDefaultKey<S.Finite, never>;
|
|
3528
3762
|
readonly tsconfigFile: S.withDecodingDefaultKey<S.String, never>;
|
|
3529
3763
|
readonly warnings: S.withDecodingDefaultKey<S.Union<readonly [S.Boolean, S.StructWithRest<S.Struct<{
|
|
@@ -3588,9 +3822,6 @@ declare class Metrics extends Metrics_base {
|
|
|
3588
3822
|
get totalMutants(): number;
|
|
3589
3823
|
get mutationScore(): MutationScore;
|
|
3590
3824
|
get mutationScoreBasedOnCoveredCode(): MutationScore;
|
|
3591
|
-
static fromMutants(mutants: readonly {
|
|
3592
|
-
readonly status: string;
|
|
3593
|
-
}[]): Metrics;
|
|
3594
3825
|
}
|
|
3595
3826
|
declare const MetricsSchema: typeof Metrics;
|
|
3596
3827
|
interface MetricsResult {
|
|
@@ -3606,8 +3837,6 @@ interface MetricsResultEncoded {
|
|
|
3606
3837
|
declare const MetricsResultSchema: S.Codec<MetricsResult, MetricsResultEncoded>;
|
|
3607
3838
|
//#endregion
|
|
3608
3839
|
//#region src/ReporterEvent.schema.d.ts
|
|
3609
|
-
declare const ReporterEventKind: S.Literals<readonly ["dryRunCompleted", "mutationTestingPlanReady", "mutantTested", "mutationTestReportReady"]>;
|
|
3610
|
-
type ReporterEventKind = typeof ReporterEventKind.Type;
|
|
3611
3840
|
declare const RunTimingSchema: S.Struct<{
|
|
3612
3841
|
readonly net: S.Finite;
|
|
3613
3842
|
readonly overhead: S.Finite;
|
|
@@ -3615,7 +3844,7 @@ declare const RunTimingSchema: S.Struct<{
|
|
|
3615
3844
|
type RunTiming = typeof RunTimingSchema.Type;
|
|
3616
3845
|
declare const ReporterPlanKind: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
3617
3846
|
declare const ReporterPlanDescriptorSchema: S.Struct<{
|
|
3618
|
-
readonly mutantId: S.String
|
|
3847
|
+
readonly mutantId: S.brand<S.String, "MutantId">;
|
|
3619
3848
|
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
3620
3849
|
readonly netTime: S.Finite;
|
|
3621
3850
|
readonly reloadEnvironment: S.Boolean;
|
|
@@ -3631,7 +3860,7 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
3631
3860
|
}>;
|
|
3632
3861
|
readonly testCount: S.Int;
|
|
3633
3862
|
readonly tests: S.$Array<S.Union<readonly [S.Struct<{
|
|
3634
|
-
readonly id: S.
|
|
3863
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3635
3864
|
readonly name: S.String;
|
|
3636
3865
|
readonly timeSpentMs: S.Finite;
|
|
3637
3866
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3642,7 +3871,7 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
3642
3871
|
readonly status: S.Literal<"failed">;
|
|
3643
3872
|
readonly failureMessage: S.String;
|
|
3644
3873
|
}>, S.Struct<{
|
|
3645
|
-
readonly id: S.
|
|
3874
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3646
3875
|
readonly name: S.String;
|
|
3647
3876
|
readonly timeSpentMs: S.Finite;
|
|
3648
3877
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3652,7 +3881,7 @@ declare const DryRunCompleted_base: S.Class<DryRunCompleted, S.TaggedStruct<"dry
|
|
|
3652
3881
|
}>>;
|
|
3653
3882
|
readonly status: S.Literal<"skipped">;
|
|
3654
3883
|
}>, S.Struct<{
|
|
3655
|
-
readonly id: S.
|
|
3884
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3656
3885
|
readonly name: S.String;
|
|
3657
3886
|
readonly timeSpentMs: S.Finite;
|
|
3658
3887
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3667,7 +3896,7 @@ declare class DryRunCompleted extends DryRunCompleted_base {}
|
|
|
3667
3896
|
declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S.TaggedStruct<"mutationTestingPlanReady", {
|
|
3668
3897
|
readonly total: S.Int;
|
|
3669
3898
|
readonly plans: S.$Array<S.Struct<{
|
|
3670
|
-
readonly mutantId: S.String
|
|
3899
|
+
readonly mutantId: S.brand<S.String, "MutantId">;
|
|
3671
3900
|
readonly plan: S.Literals<readonly ["EarlyResult", "Run"]>;
|
|
3672
3901
|
readonly netTime: S.Finite;
|
|
3673
3902
|
readonly reloadEnvironment: S.Boolean;
|
|
@@ -3675,20 +3904,29 @@ declare const MutationTestingPlanReady_base: S.Class<MutationTestingPlanReady, S
|
|
|
3675
3904
|
}>, {}>;
|
|
3676
3905
|
declare class MutationTestingPlanReady extends MutationTestingPlanReady_base {}
|
|
3677
3906
|
declare const MutantTested_base: S.Class<MutantTested, S.TaggedStruct<"mutantTested", {
|
|
3678
|
-
readonly id: S.String
|
|
3907
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3679
3908
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3680
|
-
readonly
|
|
3681
|
-
readonly location: S.
|
|
3682
|
-
readonly start:
|
|
3683
|
-
readonly line:
|
|
3684
|
-
readonly column:
|
|
3685
|
-
}
|
|
3686
|
-
readonly end:
|
|
3687
|
-
readonly line:
|
|
3688
|
-
readonly column:
|
|
3689
|
-
}
|
|
3909
|
+
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
3910
|
+
readonly location: S.declare<{
|
|
3911
|
+
readonly start: {
|
|
3912
|
+
readonly line: number;
|
|
3913
|
+
readonly column: number;
|
|
3914
|
+
};
|
|
3915
|
+
readonly end: {
|
|
3916
|
+
readonly line: number;
|
|
3917
|
+
readonly column: number;
|
|
3918
|
+
};
|
|
3919
|
+
}, {
|
|
3920
|
+
readonly start: {
|
|
3921
|
+
readonly line: number;
|
|
3922
|
+
readonly column: number;
|
|
3923
|
+
};
|
|
3924
|
+
readonly end: {
|
|
3925
|
+
readonly line: number;
|
|
3926
|
+
readonly column: number;
|
|
3927
|
+
};
|
|
3690
3928
|
}>;
|
|
3691
|
-
readonly
|
|
3929
|
+
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
3692
3930
|
readonly replacement: S.NullOr<S.String>;
|
|
3693
3931
|
readonly completed: S.Int;
|
|
3694
3932
|
readonly total: S.Int;
|
|
@@ -3701,54 +3939,71 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
3701
3939
|
readonly language: S.String;
|
|
3702
3940
|
readonly source: S.String;
|
|
3703
3941
|
readonly mutants: S.$Array<S.Struct<{
|
|
3704
|
-
readonly id: S.String
|
|
3942
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3705
3943
|
readonly mutatorName: S.String;
|
|
3706
3944
|
readonly status: S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>;
|
|
3707
|
-
readonly location: S.
|
|
3708
|
-
readonly start:
|
|
3709
|
-
readonly line:
|
|
3710
|
-
readonly column:
|
|
3711
|
-
}
|
|
3712
|
-
readonly end:
|
|
3713
|
-
readonly line:
|
|
3714
|
-
readonly column:
|
|
3715
|
-
}
|
|
3945
|
+
readonly location: S.declare<{
|
|
3946
|
+
readonly start: {
|
|
3947
|
+
readonly line: number;
|
|
3948
|
+
readonly column: number;
|
|
3949
|
+
};
|
|
3950
|
+
readonly end: {
|
|
3951
|
+
readonly line: number;
|
|
3952
|
+
readonly column: number;
|
|
3953
|
+
};
|
|
3954
|
+
}, {
|
|
3955
|
+
readonly start: {
|
|
3956
|
+
readonly line: number;
|
|
3957
|
+
readonly column: number;
|
|
3958
|
+
};
|
|
3959
|
+
readonly end: {
|
|
3960
|
+
readonly line: number;
|
|
3961
|
+
readonly column: number;
|
|
3962
|
+
};
|
|
3716
3963
|
}>;
|
|
3717
3964
|
readonly replacement: S.optional<S.String>;
|
|
3718
3965
|
readonly description: S.optional<S.String>;
|
|
3719
3966
|
readonly statusReason: S.optional<S.String>;
|
|
3720
3967
|
readonly static: S.optional<S.Boolean>;
|
|
3721
|
-
readonly coveredBy: S.optional<S.$Array<S.
|
|
3722
|
-
readonly killedBy: S.optional<S.$Array<S.
|
|
3968
|
+
readonly coveredBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3969
|
+
readonly killedBy: S.optional<S.$Array<S.brand<S.NonEmptyString, "TestId">>>;
|
|
3723
3970
|
readonly testsCompleted: S.optional<S.Int>;
|
|
3724
3971
|
readonly duration: S.optional<S.Finite>;
|
|
3725
3972
|
}>>;
|
|
3726
3973
|
}>>;
|
|
3727
|
-
readonly thresholds: S.
|
|
3974
|
+
readonly thresholds: S.declare<{
|
|
3728
3975
|
readonly high: number;
|
|
3729
3976
|
readonly low: number;
|
|
3977
|
+
readonly break: number | null;
|
|
3730
3978
|
}, {
|
|
3731
3979
|
readonly high: number;
|
|
3732
3980
|
readonly low: number;
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
readonly low: S.Finite;
|
|
3736
|
-
}>, never, never>;
|
|
3981
|
+
readonly break: number | null;
|
|
3982
|
+
}>;
|
|
3737
3983
|
readonly config: S.optional<S.$Record<S.String, S.Unknown>>;
|
|
3738
3984
|
readonly testFiles: S.optional<S.$Record<S.String, S.Struct<{
|
|
3739
3985
|
readonly source: S.optional<S.String>;
|
|
3740
3986
|
readonly tests: S.$Array<S.Struct<{
|
|
3741
|
-
readonly id: S.
|
|
3987
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3742
3988
|
readonly name: S.String;
|
|
3743
|
-
readonly location: S.optional<S.
|
|
3744
|
-
readonly start:
|
|
3745
|
-
readonly line:
|
|
3746
|
-
readonly column:
|
|
3747
|
-
}
|
|
3748
|
-
readonly end
|
|
3749
|
-
readonly line:
|
|
3750
|
-
readonly column:
|
|
3751
|
-
}
|
|
3989
|
+
readonly location: S.optional<S.declare<{
|
|
3990
|
+
readonly start: {
|
|
3991
|
+
readonly line: number;
|
|
3992
|
+
readonly column: number;
|
|
3993
|
+
};
|
|
3994
|
+
readonly end?: {
|
|
3995
|
+
readonly line: number;
|
|
3996
|
+
readonly column: number;
|
|
3997
|
+
} | undefined;
|
|
3998
|
+
}, {
|
|
3999
|
+
readonly start: {
|
|
4000
|
+
readonly line: number;
|
|
4001
|
+
readonly column: number;
|
|
4002
|
+
};
|
|
4003
|
+
readonly end?: {
|
|
4004
|
+
readonly line: number;
|
|
4005
|
+
readonly column: number;
|
|
4006
|
+
} | undefined;
|
|
3752
4007
|
}>>;
|
|
3753
4008
|
}>>;
|
|
3754
4009
|
}>>>;
|
|
@@ -3766,8 +4021,10 @@ declare const MutationTestReportReady_base: S.Class<MutationTestReportReady, S.T
|
|
|
3766
4021
|
readonly metrics: S.Codec<MetricsResult, MetricsResultEncoded, never, never>;
|
|
3767
4022
|
}>, {}>;
|
|
3768
4023
|
declare class MutationTestReportReady extends MutationTestReportReady_base {}
|
|
3769
|
-
declare const ReporterEventUnion: S.
|
|
3770
|
-
type ReporterEvent =
|
|
4024
|
+
declare const ReporterEventUnion: S.toTaggedUnion<"_tag", readonly [typeof DryRunCompleted, typeof MutationTestingPlanReady, typeof MutantTested, typeof MutationTestReportReady]>;
|
|
4025
|
+
type ReporterEvent = typeof ReporterEventUnion.Type;
|
|
4026
|
+
declare const ReporterEventKind: S.Literals<readonly ["dryRunCompleted", "mutationTestingPlanReady", "mutantTested", "mutationTestReportReady"]>;
|
|
4027
|
+
type ReporterEventKind = typeof ReporterEventKind.Type;
|
|
3771
4028
|
declare const ReporterEventSchema: StandardSchemaV1<typeof ReporterEventUnion['Encoded'], ReporterEvent>;
|
|
3772
4029
|
interface ReporterInit {
|
|
3773
4030
|
readonly traceparent?: string | undefined;
|
|
@@ -3782,6 +4039,8 @@ declare const ReporterFailed_base: S.Class<ReporterFailed, S.TaggedStruct<"Repor
|
|
|
3782
4039
|
declare class ReporterFailed extends ReporterFailed_base {}
|
|
3783
4040
|
//#endregion
|
|
3784
4041
|
//#region src/TestRunner.schema.d.ts
|
|
4042
|
+
declare const TestId: S.brand<S.NonEmptyString, "TestId">;
|
|
4043
|
+
type TestId = typeof TestId.Type;
|
|
3785
4044
|
declare const DryRunStatus: S.Literals<readonly ["complete", "error", "timeout"]>;
|
|
3786
4045
|
type DryRunStatus = typeof DryRunStatus.Type;
|
|
3787
4046
|
declare const TestStatus: S.Literals<readonly ["success", "failed", "skipped"]>;
|
|
@@ -3789,7 +4048,7 @@ type TestStatus = typeof TestStatus.Type;
|
|
|
3789
4048
|
declare const MutantRunStatus: S.Literals<readonly ["killed", "survived", "timeout", "error"]>;
|
|
3790
4049
|
type MutantRunStatus = typeof MutantRunStatus.Type;
|
|
3791
4050
|
declare const TestResultSchema: S.Union<readonly [S.Struct<{
|
|
3792
|
-
readonly id: S.
|
|
4051
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3793
4052
|
readonly name: S.String;
|
|
3794
4053
|
readonly timeSpentMs: S.Finite;
|
|
3795
4054
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3800,7 +4059,7 @@ declare const TestResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3800
4059
|
readonly status: S.Literal<"failed">;
|
|
3801
4060
|
readonly failureMessage: S.String;
|
|
3802
4061
|
}>, S.Struct<{
|
|
3803
|
-
readonly id: S.
|
|
4062
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3804
4063
|
readonly name: S.String;
|
|
3805
4064
|
readonly timeSpentMs: S.Finite;
|
|
3806
4065
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3810,7 +4069,7 @@ declare const TestResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3810
4069
|
}>>;
|
|
3811
4070
|
readonly status: S.Literal<"skipped">;
|
|
3812
4071
|
}>, S.Struct<{
|
|
3813
|
-
readonly id: S.
|
|
4072
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3814
4073
|
readonly name: S.String;
|
|
3815
4074
|
readonly timeSpentMs: S.Finite;
|
|
3816
4075
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3821,13 +4080,13 @@ declare const TestResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3821
4080
|
readonly status: S.Literal<"success">;
|
|
3822
4081
|
}>]>;
|
|
3823
4082
|
declare const MutantCoverageSchema: S.Struct<{
|
|
3824
|
-
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Finite>>;
|
|
3825
|
-
readonly static: S.$Record<S.String, S.Finite>;
|
|
4083
|
+
readonly perTest: S.$Record<S.String, S.$Record<S.brand<S.String, "MutantId">, S.Finite>>;
|
|
4084
|
+
readonly static: S.$Record<S.brand<S.String, "MutantId">, S.Finite>;
|
|
3826
4085
|
}>;
|
|
3827
4086
|
declare const DryRunResultSchema: S.Union<readonly [S.Struct<{
|
|
3828
4087
|
readonly status: S.Literal<"complete">;
|
|
3829
4088
|
readonly tests: S.$Array<S.Union<readonly [S.Struct<{
|
|
3830
|
-
readonly id: S.
|
|
4089
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3831
4090
|
readonly name: S.String;
|
|
3832
4091
|
readonly timeSpentMs: S.Finite;
|
|
3833
4092
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3838,7 +4097,7 @@ declare const DryRunResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3838
4097
|
readonly status: S.Literal<"failed">;
|
|
3839
4098
|
readonly failureMessage: S.String;
|
|
3840
4099
|
}>, S.Struct<{
|
|
3841
|
-
readonly id: S.
|
|
4100
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3842
4101
|
readonly name: S.String;
|
|
3843
4102
|
readonly timeSpentMs: S.Finite;
|
|
3844
4103
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3848,7 +4107,7 @@ declare const DryRunResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3848
4107
|
}>>;
|
|
3849
4108
|
readonly status: S.Literal<"skipped">;
|
|
3850
4109
|
}>, S.Struct<{
|
|
3851
|
-
readonly id: S.
|
|
4110
|
+
readonly id: S.brand<S.NonEmptyString, "TestId">;
|
|
3852
4111
|
readonly name: S.String;
|
|
3853
4112
|
readonly timeSpentMs: S.Finite;
|
|
3854
4113
|
readonly fileName: S.optionalKey<S.String>;
|
|
@@ -3859,8 +4118,8 @@ declare const DryRunResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3859
4118
|
readonly status: S.Literal<"success">;
|
|
3860
4119
|
}>]>>;
|
|
3861
4120
|
readonly mutantCoverage: S.optionalKey<S.Struct<{
|
|
3862
|
-
readonly perTest: S.$Record<S.String, S.$Record<S.String, S.Finite>>;
|
|
3863
|
-
readonly static: S.$Record<S.String, S.Finite>;
|
|
4121
|
+
readonly perTest: S.$Record<S.String, S.$Record<S.brand<S.String, "MutantId">, S.Finite>>;
|
|
4122
|
+
readonly static: S.$Record<S.brand<S.String, "MutantId">, S.Finite>;
|
|
3864
4123
|
}>>;
|
|
3865
4124
|
}>, S.Struct<{
|
|
3866
4125
|
readonly status: S.Literal<"timeout">;
|
|
@@ -3871,12 +4130,12 @@ declare const DryRunResultSchema: S.Union<readonly [S.Struct<{
|
|
|
3871
4130
|
}>]>;
|
|
3872
4131
|
declare const MutantRunResultSchema: S.Union<readonly [S.Struct<{
|
|
3873
4132
|
readonly status: S.Literal<"killed">;
|
|
3874
|
-
readonly killedBy: S.$Array<S.
|
|
4133
|
+
readonly killedBy: S.$Array<S.brand<S.NonEmptyString, "TestId">>;
|
|
3875
4134
|
readonly failureMessage: S.String;
|
|
3876
|
-
readonly nrOfTests: S.
|
|
4135
|
+
readonly nrOfTests: S.Int;
|
|
3877
4136
|
}>, S.Struct<{
|
|
3878
4137
|
readonly status: S.Literal<"survived">;
|
|
3879
|
-
readonly nrOfTests: S.
|
|
4138
|
+
readonly nrOfTests: S.Int;
|
|
3880
4139
|
}>, S.Struct<{
|
|
3881
4140
|
readonly status: S.Literal<"timeout">;
|
|
3882
4141
|
readonly reason: S.optionalKey<S.String>;
|
|
@@ -3902,7 +4161,7 @@ declare const TestRunnerFailed_base: S.Class<TestRunnerFailed, S.TaggedStruct<"T
|
|
|
3902
4161
|
}>, import("effect/Cause").YieldableError>;
|
|
3903
4162
|
declare class TestRunnerFailed extends TestRunnerFailed_base {}
|
|
3904
4163
|
interface BaseTestResult {
|
|
3905
|
-
readonly id:
|
|
4164
|
+
readonly id: TestId;
|
|
3906
4165
|
readonly name: string;
|
|
3907
4166
|
readonly timeSpentMs: number;
|
|
3908
4167
|
readonly fileName?: string;
|
|
@@ -3939,7 +4198,7 @@ interface TimeoutMutantRunResult {
|
|
|
3939
4198
|
}
|
|
3940
4199
|
interface KilledMutantRunResult {
|
|
3941
4200
|
readonly status: 'killed';
|
|
3942
|
-
readonly killedBy: readonly
|
|
4201
|
+
readonly killedBy: readonly TestId[];
|
|
3943
4202
|
readonly failureMessage: string;
|
|
3944
4203
|
readonly nrOfTests: number;
|
|
3945
4204
|
}
|
|
@@ -3965,6 +4224,10 @@ interface TestRunnerCapabilities {
|
|
|
3965
4224
|
//#region src/Plugin.schema.d.ts
|
|
3966
4225
|
declare const WorkerPluginKind: S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>;
|
|
3967
4226
|
type WorkerPluginKind = typeof WorkerPluginKind.Type;
|
|
4227
|
+
declare const EvaluatorPluginKind: S.Literal<"Evaluator">;
|
|
4228
|
+
type EvaluatorPluginKind = typeof EvaluatorPluginKind.Type;
|
|
4229
|
+
declare const PluginKindSchema: S.Union<readonly [S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>, S.Literal<"Evaluator">]>;
|
|
4230
|
+
type PluginKind = typeof PluginKindSchema.Type;
|
|
3968
4231
|
declare const TestRunnerDryRunRequest: S.Struct<{
|
|
3969
4232
|
readonly options: S.Struct<{
|
|
3970
4233
|
readonly timeout: S.Finite;
|
|
@@ -3979,7 +4242,38 @@ declare const TestRunnerMutantRunRequest: S.Struct<{
|
|
|
3979
4242
|
readonly options: S.Struct<{
|
|
3980
4243
|
readonly timeout: S.Finite;
|
|
3981
4244
|
readonly disableBail: S.Boolean;
|
|
3982
|
-
readonly activeMutant:
|
|
4245
|
+
readonly activeMutant: S.Struct<{
|
|
4246
|
+
readonly _tag: S.tag<"Mutant">;
|
|
4247
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
4248
|
+
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
4249
|
+
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
4250
|
+
readonly replacement: S.String;
|
|
4251
|
+
readonly location: S.declare<{
|
|
4252
|
+
readonly start: {
|
|
4253
|
+
readonly line: number;
|
|
4254
|
+
readonly column: number;
|
|
4255
|
+
};
|
|
4256
|
+
readonly end: {
|
|
4257
|
+
readonly line: number;
|
|
4258
|
+
readonly column: number;
|
|
4259
|
+
};
|
|
4260
|
+
}, {
|
|
4261
|
+
readonly start: {
|
|
4262
|
+
readonly line: number;
|
|
4263
|
+
readonly column: number;
|
|
4264
|
+
};
|
|
4265
|
+
readonly end: {
|
|
4266
|
+
readonly line: number;
|
|
4267
|
+
readonly column: number;
|
|
4268
|
+
};
|
|
4269
|
+
}>;
|
|
4270
|
+
readonly status: S.optional<S.Literals<readonly ["Killed", "Survived", "NoCoverage", "CompileError", "RuntimeError", "Timeout", "Ignored", "Pending"]>>;
|
|
4271
|
+
readonly statusReason: S.optional<S.String>;
|
|
4272
|
+
readonly coveredBy: S.optional<S.$Array<S.String>>;
|
|
4273
|
+
readonly static: S.optional<S.Boolean>;
|
|
4274
|
+
readonly testsCompleted: S.optional<S.Finite>;
|
|
4275
|
+
readonly description: S.optional<S.String>;
|
|
4276
|
+
}>;
|
|
3983
4277
|
readonly sandboxFileName: S.String;
|
|
3984
4278
|
readonly mutantActivation: S.Literals<readonly ["runtime", "static"]>;
|
|
3985
4279
|
readonly reloadEnvironment: S.Boolean;
|
|
@@ -3991,24 +4285,33 @@ type TestRunnerMutantRunRequest = typeof TestRunnerMutantRunRequest.Type;
|
|
|
3991
4285
|
declare const CheckerRequest: S.Struct<{
|
|
3992
4286
|
readonly checkerName: S.String;
|
|
3993
4287
|
readonly mutants: S.$Array<S.Struct<{
|
|
3994
|
-
readonly id: S.brand<S.
|
|
4288
|
+
readonly id: S.brand<S.String, "MutantId">;
|
|
3995
4289
|
readonly fileName: S.decodeTo<S.brand<S.String, "CanonicalFileName">, S.String, never, never>;
|
|
3996
4290
|
readonly mutatorName: S.brand<S.NonEmptyString, "MutatorName">;
|
|
3997
4291
|
readonly replacement: S.String;
|
|
3998
|
-
readonly location: S.
|
|
3999
|
-
readonly start:
|
|
4000
|
-
readonly line:
|
|
4001
|
-
readonly column:
|
|
4002
|
-
}
|
|
4003
|
-
readonly end:
|
|
4004
|
-
readonly line:
|
|
4005
|
-
readonly column:
|
|
4006
|
-
}
|
|
4292
|
+
readonly location: S.declare<{
|
|
4293
|
+
readonly start: {
|
|
4294
|
+
readonly line: number;
|
|
4295
|
+
readonly column: number;
|
|
4296
|
+
};
|
|
4297
|
+
readonly end: {
|
|
4298
|
+
readonly line: number;
|
|
4299
|
+
readonly column: number;
|
|
4300
|
+
};
|
|
4301
|
+
}, {
|
|
4302
|
+
readonly start: {
|
|
4303
|
+
readonly line: number;
|
|
4304
|
+
readonly column: number;
|
|
4305
|
+
};
|
|
4306
|
+
readonly end: {
|
|
4307
|
+
readonly line: number;
|
|
4308
|
+
readonly column: number;
|
|
4309
|
+
};
|
|
4007
4310
|
}>;
|
|
4008
4311
|
}>>;
|
|
4009
4312
|
}>;
|
|
4010
4313
|
type CheckerRequest = typeof CheckerRequest.Type;
|
|
4011
|
-
declare const CheckerCheckResult: S.$Record<S.String, S.
|
|
4314
|
+
declare const CheckerCheckResult: S.$Record<S.String, S.toTaggedUnion<"status", readonly [S.Struct<{
|
|
4012
4315
|
readonly status: S.Literal<"passed">;
|
|
4013
4316
|
}>, S.Struct<{
|
|
4014
4317
|
readonly status: S.Literal<"compileError">;
|
|
@@ -4016,11 +4319,16 @@ declare const CheckerCheckResult: S.$Record<S.String, S.Union<readonly [S.Struct
|
|
|
4016
4319
|
}>]>>;
|
|
4017
4320
|
declare const CheckerGroupResult: S.$Array<S.$Array<S.String>>;
|
|
4018
4321
|
declare const ReporterInitOptions: S.Struct<{
|
|
4019
|
-
readonly traceparent: S.optionalKey<S.
|
|
4322
|
+
readonly traceparent: S.optionalKey<S.decodeTo<S.Struct<{
|
|
4323
|
+
readonly version: S.String;
|
|
4324
|
+
readonly traceId: S.String;
|
|
4325
|
+
readonly spanId: S.String;
|
|
4326
|
+
readonly traceFlags: S.Int;
|
|
4327
|
+
}>, S.String, never, never>>;
|
|
4020
4328
|
readonly tracestate: S.optionalKey<S.String>;
|
|
4021
4329
|
}>;
|
|
4022
4330
|
type ReporterInitOptions = typeof ReporterInitOptions.Type;
|
|
4023
|
-
declare const ReporterEventBatch: S.$Array<S.
|
|
4331
|
+
declare const ReporterEventBatch: S.$Array<S.toTaggedUnion<"_tag", readonly [typeof DryRunCompleted, typeof MutationTestingPlanReady, typeof MutantTested, typeof MutationTestReportReady]>>;
|
|
4024
4332
|
type ReporterEventBatch = typeof ReporterEventBatch.Type;
|
|
4025
4333
|
declare const ReporterAck: S.Void;
|
|
4026
4334
|
declare const ReporterDrained: S.Void;
|
|
@@ -4057,17 +4365,30 @@ declare const PropagatedTrace_base: Context.ServiceClass<PropagatedTrace, "@syst
|
|
|
4057
4365
|
declare class PropagatedTrace extends PropagatedTrace_base {}
|
|
4058
4366
|
declare const TraceContextMiddleware_base: RpcMiddleware.ServiceClass<TraceContextMiddleware, "@systemfsoftware/stryker-js-plugin-interface/TraceContextMiddleware", typeof PropagatedTrace, Schema.Never, never, never, true>;
|
|
4059
4367
|
declare class TraceContextMiddleware extends TraceContextMiddleware_base {}
|
|
4060
|
-
type TracedRpc<Tag extends string, Payload extends Schema.Top = Schema.Void, Success extends Schema.Top = Schema.Void, Error extends Schema.Top = Schema.Never> = Rpc.Rpc<Tag, Payload, Success, Error
|
|
4368
|
+
type TracedRpc<Tag extends string, Payload extends Schema.Top = Schema.Void, Success extends Schema.Top = Schema.Void, Error extends Schema.Top = Schema.Never> = Rpc.AddMiddleware<Rpc.Rpc<Tag, Payload, Success, Error>, typeof TraceContextMiddleware>;
|
|
4061
4369
|
//#endregion
|
|
4062
4370
|
//#region src/PluginRpcs.service.d.ts
|
|
4063
|
-
declare const
|
|
4064
|
-
declare const
|
|
4065
|
-
declare const
|
|
4371
|
+
declare const capabilities: TracedRpc<'capabilities', Schema.Void, typeof TestRunnerCapabilitiesSchema, typeof TestRunnerFailed>;
|
|
4372
|
+
declare const dryRun: TracedRpc<'dryRun', typeof TestRunnerDryRunRequest, typeof DryRunResultSchema, typeof TestRunnerFailed>;
|
|
4373
|
+
declare const mutantRun: TracedRpc<'mutantRun', typeof TestRunnerMutantRunRequest, typeof MutantRunResultSchema, typeof TestRunnerFailed>;
|
|
4374
|
+
declare const check: TracedRpc<'check', typeof CheckerRequest, typeof CheckerCheckResult, typeof CheckerFailed>;
|
|
4375
|
+
declare const group: TracedRpc<'group', typeof CheckerRequest, typeof CheckerGroupResult, typeof CheckerFailed>;
|
|
4376
|
+
declare const init: TracedRpc<'init', typeof ReporterInitOptions, typeof ReporterAck, typeof ReporterFailed>;
|
|
4377
|
+
declare const onEventBatch: TracedRpc<'onEventBatch', typeof ReporterEventBatch, typeof ReporterAck, typeof ReporterFailed>;
|
|
4378
|
+
declare const flush: TracedRpc<'flush', Schema.Void, typeof ReporterDrained, typeof ReporterFailed>;
|
|
4379
|
+
declare const TestRunnerRpcs: RpcGroup.RpcGroup<typeof capabilities | typeof dryRun | typeof mutantRun>;
|
|
4380
|
+
declare const CheckerRpcs: RpcGroup.RpcGroup<typeof check | typeof group>;
|
|
4381
|
+
declare const ReporterRpcs: RpcGroup.RpcGroup<typeof init | typeof onEventBatch | typeof flush>;
|
|
4066
4382
|
declare namespace mod_d_exports$3 {
|
|
4067
|
-
export { BoundaryError, BoundaryErrorSchema, BoundaryPayloadRejected, BoundaryUnrecognizedSignal, CheckerCheckResult, CheckerGroupResult, CheckerRequest, CheckerRpcs, ExitClass, ExitCodeFromClass, ReporterAck, ReporterDrained, ReporterEventBatch, ReporterInitOptions, ReporterRpcs, TestRunnerDryRunRequest, TestRunnerMutantRunRequest, TestRunnerRpcs, WorkerEntryUrl, WorkerPluginKind, WorkerPluginSpawn, WorkerPluginSpawnSchema };
|
|
4383
|
+
export { BoundaryError, BoundaryErrorSchema, BoundaryPayloadRejected, BoundaryUnrecognizedSignal, CheckerCheckResult, CheckerGroupResult, CheckerRequest, CheckerRpcs, EvaluatorPluginKind, ExitClass, ExitCode, ExitCodeFromClass, PluginKind, PluginKindSchema, ReporterAck, ReporterDrained, ReporterEventBatch, ReporterInitOptions, ReporterRpcs, TestRunnerDryRunRequest, TestRunnerMutantRunRequest, TestRunnerRpcs, WorkerEntryUrl, WorkerPluginKind, WorkerPluginSpawn, WorkerPluginSpawnSchema };
|
|
4068
4384
|
}
|
|
4385
|
+
//#endregion
|
|
4386
|
+
//#region src/Metrics.d.ts
|
|
4387
|
+
declare const metricsFromMutants: (mutants: readonly {
|
|
4388
|
+
readonly status: mod_d_exports$3$1.MutantStatus;
|
|
4389
|
+
}[]) => Metrics;
|
|
4069
4390
|
declare namespace mod_d_exports$4 {
|
|
4070
|
-
export { BrandingInformation, BrandingInformationSchema, Dependencies, DependenciesSchema, DetectedStatus, FileResult, FileResultDictionary, FileResultDictionarySchema, FileResultSchema, FrameworkInformation, FrameworkInformationSchema, InvalidStatus, Metrics, MetricsResult, MetricsResultEncoded, MetricsResultSchema, MetricsSchema, MutantResult, MutantResultSchema, MutationScore, MutationTestResult, MutationTestResultSchema, NonNegativeFinite, NonNegativeInt, Percentage, TestDefinition, TestDefinitionSchema, TestFile, TestFileDefinitionDictionary, TestFileDefinitionDictionarySchema, TestFileSchema, Thresholds, ThresholdsSchema, UndetectedStatus, UntestedStatus };
|
|
4391
|
+
export { BrandingInformation, BrandingInformationSchema, Dependencies, DependenciesSchema, DetectedStatus, FileResult, FileResultDictionary, FileResultDictionarySchema, FileResultSchema, FrameworkInformation, FrameworkInformationSchema, InvalidStatus, Metrics, MetricsResult, MetricsResultEncoded, MetricsResultSchema, MetricsSchema, MutantResult, MutantResultSchema, MutationScore, MutationTestResult, MutationTestResultSchema, NonNegativeFinite, NonNegativeInt, OrderedThresholds, Percentage, TestDefinition, TestDefinitionSchema, TestFile, TestFileDefinitionDictionary, TestFileDefinitionDictionarySchema, TestFileSchema, Thresholds, ThresholdsSchema, UndetectedStatus, UntestedStatus, metricsFromMutants };
|
|
4071
4392
|
}
|
|
4072
4393
|
declare namespace mod_d_exports$5 {
|
|
4073
4394
|
export { DryRunCompleted, MutantTested, MutationTestReportReady, MutationTestingPlanReady, ReporterEvent, ReporterEventKind, ReporterEventSchema, ReporterEventUnion, ReporterFactory, ReporterFailed, ReporterInit, ReporterPlanDescriptor, ReporterPlanDescriptorSchema, ReporterPlanKind, RunTiming, RunTimingSchema };
|
|
@@ -4093,7 +4414,7 @@ interface TestRunnerService {
|
|
|
4093
4414
|
declare const TestRunner_base: Context.ServiceClass<TestRunner, "@systemfsoftware/stryker-js-plugin-interface/TestRunner.service/TestRunner", TestRunnerService>;
|
|
4094
4415
|
declare class TestRunner extends TestRunner_base {}
|
|
4095
4416
|
declare namespace mod_d_exports$6 {
|
|
4096
|
-
export { BaseTestResult, CompleteDryRunResult, CoverageAnalysis, CoverageAnalysisSchema, DryRunOptions, DryRunOptionsSchema, DryRunResult, DryRunResultSchema, DryRunStatus, ErrorDryRunResult, ErrorMutantRunResult, FailedTestResult, HitLimitReason, HitLimitReasonPrefix, HitLimitReasonText, KilledMutantRunResult, MutantCoverageSchema, MutantRunResult, MutantRunResultSchema, MutantRunStatus, SkippedTestResult, SuccessTestResult, SurvivedMutantRunResult, TestResult, TestResultSchema, TestRunner, TestRunnerCapabilities, TestRunnerCapabilitiesSchema, TestRunnerFailed, TestRunnerService, TestStatus, TimeoutDryRunResult, TimeoutMutantRunResult, WallClockTimeoutReason };
|
|
4417
|
+
export { BaseTestResult, CompleteDryRunResult, CoverageAnalysis, CoverageAnalysisSchema, DryRunOptions, DryRunOptionsSchema, DryRunResult, DryRunResultSchema, DryRunStatus, ErrorDryRunResult, ErrorMutantRunResult, FailedTestResult, HitLimitReason, HitLimitReasonPrefix, HitLimitReasonText, KilledMutantRunResult, MutantCoverageSchema, MutantRunResult, MutantRunResultSchema, MutantRunStatus, SkippedTestResult, SuccessTestResult, SurvivedMutantRunResult, TestId, TestResult, TestResultSchema, TestRunner, TestRunnerCapabilities, TestRunnerCapabilitiesSchema, TestRunnerFailed, TestRunnerService, TestStatus, TimeoutDryRunResult, TimeoutMutantRunResult, WallClockTimeoutReason };
|
|
4097
4418
|
}
|
|
4098
4419
|
//#endregion
|
|
4099
|
-
export { mod_d_exports$5 as a, mod_d_exports$2$1 as c, Ignorer$1 as d, Node_2 as f, mod_d_exports$4 as i, mod_d_exports$3$1 as l, mod_d_exports$2 as n, mod_d_exports$6 as o, mod_d_exports$3 as r, mod_d_exports$1 as s, mod_d_exports as t, Framework as u };
|
|
4420
|
+
export { mod_d_exports$5 as a, mod_d_exports$2$1 as c, Ignorer$1 as d, Node_2$1 as f, mod_d_exports$4 as i, mod_d_exports$3$1 as l, mod_d_exports$2 as n, mod_d_exports$6 as o, mod_d_exports$3 as r, mod_d_exports$1 as s, mod_d_exports as t, Framework as u };
|