@systemfsoftware/stryker-js 4.0.0 → 6.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 +129 -0
- package/LICENSE +3 -15
- package/README.md +172 -13
- package/dist/Plugins-DF95m9KO.d.mts +1400 -0
- package/dist/builtin-reporters-BqePgAN0.mjs +671 -0
- package/dist/builtin-reporters.d.mts +312 -0
- package/dist/builtin-reporters.mjs +3 -0
- package/dist/compiler-Bq9Nelu8.mjs +48406 -0
- package/dist/compiler-C8aLIb5U.mjs +48406 -0
- package/dist/config.d.mts +12 -0
- package/dist/config.mjs +7 -0
- package/dist/dist-B3nT7z4G.mjs +5155 -0
- package/dist/dist-CWbipfGB.mjs +711 -0
- package/dist/execAsync-CfPZgJSD.mjs +10 -0
- package/dist/execAsync-DdCu5QLN.mjs +10 -0
- package/dist/getMachineId-bsd-C6bLIaiv.mjs +27 -0
- package/dist/getMachineId-bsd-CXSiHDga.mjs +27 -0
- package/dist/getMachineId-darwin-D3cIKeqx.mjs +24 -0
- package/dist/getMachineId-darwin-DPZ0kdKD.mjs +24 -0
- package/dist/getMachineId-linux-CQwLSlZk.mjs +20 -0
- package/dist/getMachineId-linux-Ci8OVJU0.mjs +20 -0
- package/dist/getMachineId-unsupported-PX0hnW6X.mjs +15 -0
- package/dist/getMachineId-unsupported-_ExL3Avl.mjs +15 -0
- package/dist/getMachineId-win-BCsS9pC_.mjs +26 -0
- package/dist/getMachineId-win-D9Tb0p7w.mjs +26 -0
- package/dist/index-BInJWa0x.d.mts +1148 -0
- package/dist/index.d.mts +2570 -938
- package/dist/index.mjs +4 -1034
- package/dist/main.mjs +102939 -0
- package/dist/merge-config-BrrNQWje.mjs +16 -0
- package/dist/mutation-test.cell-Cw1ZzDnb.d.mts +561 -0
- package/dist/output-mode-CfGHDpi5.d.mts +17 -0
- package/dist/parser.wasm32-wasi.wasm +0 -0
- package/dist/plugin-loader.d.mts +1673 -0
- package/dist/plugin-loader.mjs +3 -0
- package/dist/plugin-worker-entry-D00fedxV.mjs +1585 -0
- package/dist/promises.d.mts +5 -0
- package/dist/promises.mjs +14 -0
- package/dist/rolldown-runtime-Dr7-SnC6.mjs +45 -0
- package/dist/rolldown-runtime-XITHOX9H.mjs +15 -0
- package/dist/src-fju4cI5I.mjs +12466 -0
- package/dist/src-js-DRK8boNV.mjs +1009 -0
- package/dist/stryker-config-DIGmQrm1.d.mts +14 -0
- package/dist/wasm-Dr7kZatW.mjs +13017 -0
- package/package.json +101 -39
|
@@ -0,0 +1,1673 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as HashMap from 'effect/HashMap';
|
|
3
|
+
import * as Path from 'effect/Path';
|
|
4
|
+
import * as S from 'effect/Schema';
|
|
5
|
+
import { Schema } from 'effect';
|
|
6
|
+
import { YieldableError } from 'effect/Cause';
|
|
7
|
+
|
|
8
|
+
declare interface AccessorProperty$1 extends Span$1 {
|
|
9
|
+
type: AccessorPropertyType;
|
|
10
|
+
decorators: Array<Decorator$1>;
|
|
11
|
+
key: PropertyKey_2;
|
|
12
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
13
|
+
value: Expression$1 | null;
|
|
14
|
+
computed: boolean;
|
|
15
|
+
static: boolean;
|
|
16
|
+
override?: boolean;
|
|
17
|
+
definite?: boolean;
|
|
18
|
+
accessibility?: TSAccessibility | null;
|
|
19
|
+
declare?: false;
|
|
20
|
+
optional?: false;
|
|
21
|
+
readonly?: false;
|
|
22
|
+
parent?: Node$1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare type AccessorPropertyType = "AccessorProperty" | "TSAbstractAccessorProperty";
|
|
26
|
+
|
|
27
|
+
export declare type AnyPluginDescriptor = AnyWorkerPluginDescriptor | EvaluatorPluginDescriptor;
|
|
28
|
+
|
|
29
|
+
export declare type AnyWorkerPluginDescriptor = { [K in WorkerPluginKind]: WorkerPluginDescriptor<K>; }[WorkerPluginKind];
|
|
30
|
+
|
|
31
|
+
export declare type AnyWorkerPluginSource = { [K in WorkerPluginKind]: WorkerPluginSource<K>; }[WorkerPluginKind];
|
|
32
|
+
|
|
33
|
+
declare type Argument$1 = SpreadElement$1 | Expression$1;
|
|
34
|
+
|
|
35
|
+
declare interface ArrayAssignmentTarget extends Span$1 {
|
|
36
|
+
type: "ArrayPattern";
|
|
37
|
+
decorators?: [];
|
|
38
|
+
elements: Array<AssignmentTargetMaybeDefault | AssignmentTargetRest | null>;
|
|
39
|
+
optional?: false;
|
|
40
|
+
typeAnnotation?: null;
|
|
41
|
+
parent?: Node$1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare interface ArrayExpression$1 extends Span$1 {
|
|
45
|
+
type: "ArrayExpression";
|
|
46
|
+
elements: Array<ArrayExpressionElement>;
|
|
47
|
+
parent?: Node$1;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare type ArrayExpressionElement = SpreadElement$1 | null | Expression$1;
|
|
51
|
+
|
|
52
|
+
declare interface ArrayPattern$1 extends Span$1 {
|
|
53
|
+
type: "ArrayPattern";
|
|
54
|
+
decorators?: [];
|
|
55
|
+
elements: Array<BindingPattern$1 | BindingRestElement$1 | null>;
|
|
56
|
+
optional?: false;
|
|
57
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
58
|
+
parent?: Node$1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare interface ArrowFunctionExpression$1 extends Span$1 {
|
|
62
|
+
type: "ArrowFunctionExpression";
|
|
63
|
+
expression: boolean;
|
|
64
|
+
async: boolean;
|
|
65
|
+
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
66
|
+
params: ParamPattern$1[];
|
|
67
|
+
returnType?: TSTypeAnnotation$1 | null;
|
|
68
|
+
body: FunctionBody | Expression$1;
|
|
69
|
+
id: null;
|
|
70
|
+
generator: false;
|
|
71
|
+
parent?: Node$1;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
declare interface AssignmentExpression$1 extends Span$1 {
|
|
75
|
+
type: "AssignmentExpression";
|
|
76
|
+
operator: AssignmentOperator;
|
|
77
|
+
left: AssignmentTarget;
|
|
78
|
+
right: Expression$1;
|
|
79
|
+
parent?: Node$1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare type AssignmentOperator = "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "**=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "||=" | "&&=" | "??=";
|
|
83
|
+
|
|
84
|
+
declare interface AssignmentPattern$1 extends Span$1 {
|
|
85
|
+
type: "AssignmentPattern";
|
|
86
|
+
decorators?: [];
|
|
87
|
+
left: BindingPattern$1;
|
|
88
|
+
right: Expression$1;
|
|
89
|
+
optional?: false;
|
|
90
|
+
typeAnnotation?: null;
|
|
91
|
+
parent?: Node$1;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
declare type AssignmentTarget = SimpleAssignmentTarget$1 | AssignmentTargetPattern;
|
|
95
|
+
|
|
96
|
+
declare type AssignmentTargetMaybeDefault = AssignmentTargetWithDefault | AssignmentTarget;
|
|
97
|
+
|
|
98
|
+
declare type AssignmentTargetPattern = ArrayAssignmentTarget | ObjectAssignmentTarget;
|
|
99
|
+
|
|
100
|
+
declare type AssignmentTargetProperty = AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty;
|
|
101
|
+
|
|
102
|
+
declare interface AssignmentTargetPropertyIdentifier extends Span$1 {
|
|
103
|
+
type: "Property";
|
|
104
|
+
kind: "init";
|
|
105
|
+
key: IdentifierReference$1;
|
|
106
|
+
value: IdentifierReference$1 | AssignmentTargetWithDefault;
|
|
107
|
+
method: false;
|
|
108
|
+
shorthand: true;
|
|
109
|
+
computed: false;
|
|
110
|
+
optional?: false;
|
|
111
|
+
parent?: Node$1;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare interface AssignmentTargetPropertyProperty extends Span$1 {
|
|
115
|
+
type: "Property";
|
|
116
|
+
kind: "init";
|
|
117
|
+
key: PropertyKey_2;
|
|
118
|
+
value: AssignmentTargetMaybeDefault;
|
|
119
|
+
method: false;
|
|
120
|
+
shorthand: false;
|
|
121
|
+
computed: boolean;
|
|
122
|
+
optional?: false;
|
|
123
|
+
parent?: Node$1;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
declare interface AssignmentTargetRest extends Span$1 {
|
|
127
|
+
type: "RestElement";
|
|
128
|
+
decorators?: [];
|
|
129
|
+
argument: AssignmentTarget;
|
|
130
|
+
optional?: false;
|
|
131
|
+
typeAnnotation?: null;
|
|
132
|
+
value?: null;
|
|
133
|
+
parent?: Node$1;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
declare interface AssignmentTargetWithDefault extends Span$1 {
|
|
137
|
+
type: "AssignmentPattern";
|
|
138
|
+
decorators?: [];
|
|
139
|
+
left: AssignmentTarget;
|
|
140
|
+
right: Expression$1;
|
|
141
|
+
optional?: false;
|
|
142
|
+
typeAnnotation?: null;
|
|
143
|
+
parent?: Node$1;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
declare interface AwaitExpression extends Span$1 {
|
|
147
|
+
type: "AwaitExpression";
|
|
148
|
+
argument: Expression$1;
|
|
149
|
+
parent?: Node$1;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
declare interface BigIntLiteral$1 extends Span$1 {
|
|
153
|
+
type: "Literal";
|
|
154
|
+
value: bigint;
|
|
155
|
+
raw: string | null;
|
|
156
|
+
bigint: string;
|
|
157
|
+
parent?: Node$1;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare interface BinaryExpression$1 extends Span$1 {
|
|
161
|
+
type: "BinaryExpression";
|
|
162
|
+
left: Expression$1;
|
|
163
|
+
operator: BinaryOperator;
|
|
164
|
+
right: Expression$1;
|
|
165
|
+
parent?: Node$1;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
declare type BinaryOperator = "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "+" | "-" | "*" | "/" | "%" | "**" | "<<" | ">>" | ">>>" | "|" | "^" | "&" | "in" | "instanceof";
|
|
169
|
+
|
|
170
|
+
declare interface BindingIdentifier$1 extends Span$1 {
|
|
171
|
+
type: "Identifier";
|
|
172
|
+
decorators?: [];
|
|
173
|
+
name: string;
|
|
174
|
+
optional?: false;
|
|
175
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
176
|
+
parent?: Node$1;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
declare type BindingPattern$1 = BindingIdentifier$1 | ObjectPattern | ArrayPattern$1 | AssignmentPattern$1;
|
|
180
|
+
|
|
181
|
+
declare interface BindingProperty$1 extends Span$1 {
|
|
182
|
+
type: "Property";
|
|
183
|
+
kind: "init";
|
|
184
|
+
key: PropertyKey_2;
|
|
185
|
+
value: BindingPattern$1;
|
|
186
|
+
method: false;
|
|
187
|
+
shorthand: boolean;
|
|
188
|
+
computed: boolean;
|
|
189
|
+
optional?: false;
|
|
190
|
+
parent?: Node$1;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
declare interface BindingRestElement$1 extends Span$1 {
|
|
194
|
+
type: "RestElement";
|
|
195
|
+
decorators?: [];
|
|
196
|
+
argument: BindingPattern$1;
|
|
197
|
+
optional?: false;
|
|
198
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
199
|
+
value?: null;
|
|
200
|
+
parent?: Node$1;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
declare interface BlockStatement$1 extends Span$1 {
|
|
204
|
+
type: "BlockStatement";
|
|
205
|
+
body: Array<Statement$1>;
|
|
206
|
+
parent?: Node$1;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
declare interface BooleanLiteral$1 extends Span$1 {
|
|
210
|
+
type: "Literal";
|
|
211
|
+
value: boolean;
|
|
212
|
+
raw: string | null;
|
|
213
|
+
parent?: Node$1;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
declare interface BreakStatement$1 extends Span$1 {
|
|
217
|
+
type: "BreakStatement";
|
|
218
|
+
label: LabelIdentifier$1 | null;
|
|
219
|
+
parent?: Node$1;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
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;
|
|
223
|
+
|
|
224
|
+
declare interface CallExpression$1 extends Span$1 {
|
|
225
|
+
type: "CallExpression";
|
|
226
|
+
callee: Expression$1;
|
|
227
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
228
|
+
arguments: Array<Argument$1>;
|
|
229
|
+
optional: boolean;
|
|
230
|
+
parent?: Node$1;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
declare interface CatchClause$1 extends Span$1 {
|
|
234
|
+
type: "CatchClause";
|
|
235
|
+
param: BindingPattern$1 | null;
|
|
236
|
+
body: BlockStatement$1;
|
|
237
|
+
parent?: Node$1;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
declare type ChainElement = CallExpression$1 | TSNonNullExpression$1 | MemberExpression$1;
|
|
241
|
+
|
|
242
|
+
declare interface ChainExpression$1 extends Span$1 {
|
|
243
|
+
type: "ChainExpression";
|
|
244
|
+
expression: ChainElement;
|
|
245
|
+
parent?: Node$1;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
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;
|
|
249
|
+
|
|
250
|
+
declare interface Class$1 extends Span$1 {
|
|
251
|
+
type: ClassType;
|
|
252
|
+
decorators: Array<Decorator$1>;
|
|
253
|
+
id: BindingIdentifier$1 | null;
|
|
254
|
+
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
255
|
+
superClass: Expression$1 | null;
|
|
256
|
+
superTypeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
257
|
+
implements?: Array<TSClassImplements>;
|
|
258
|
+
body: ClassBody$1;
|
|
259
|
+
abstract?: boolean;
|
|
260
|
+
declare?: boolean;
|
|
261
|
+
parent?: Node$1;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
declare interface ClassBody$1 extends Span$1 {
|
|
265
|
+
type: "ClassBody";
|
|
266
|
+
body: Array<ClassElement>;
|
|
267
|
+
parent?: Node$1;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
declare type ClassElement = StaticBlock$1 | MethodDefinition$1 | PropertyDefinition$1 | AccessorProperty$1 | TSIndexSignature$1;
|
|
271
|
+
|
|
272
|
+
declare type ClassType = "ClassDeclaration" | "ClassExpression";
|
|
273
|
+
|
|
274
|
+
declare interface ComputedMemberExpression extends Span$1 {
|
|
275
|
+
type: "MemberExpression";
|
|
276
|
+
object: Expression$1;
|
|
277
|
+
property: Expression$1;
|
|
278
|
+
optional: boolean;
|
|
279
|
+
computed: true;
|
|
280
|
+
parent?: Node$1;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
declare interface ConditionalExpression$1 extends Span$1 {
|
|
284
|
+
type: "ConditionalExpression";
|
|
285
|
+
test: Expression$1;
|
|
286
|
+
consequent: Expression$1;
|
|
287
|
+
alternate: Expression$1;
|
|
288
|
+
parent?: Node$1;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
declare interface ContinueStatement$1 extends Span$1 {
|
|
292
|
+
type: "ContinueStatement";
|
|
293
|
+
label: LabelIdentifier$1 | null;
|
|
294
|
+
parent?: Node$1;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export declare function create<K extends PluginKind>(pluginsByKind: HashMap.HashMap<PluginKind, readonly AnyPluginDescriptor[]>, kind: K, name: string): Effect.Effect<PluginDescriptorOf<K>, PluginNotFoundError>;
|
|
298
|
+
|
|
299
|
+
export declare function createAll<K extends PluginKind>(pluginsByKind: HashMap.HashMap<PluginKind, readonly AnyPluginDescriptor[]>, kind: K): Effect.Effect<readonly PluginDescriptorOf<K>[]>;
|
|
300
|
+
|
|
301
|
+
declare interface DebuggerStatement extends Span$1 {
|
|
302
|
+
type: "DebuggerStatement";
|
|
303
|
+
parent?: Node$1;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
declare type Declaration = VariableDeclaration$1 | Function$1 | Class$1 | TSTypeAliasDeclaration$1 | TSInterfaceDeclaration$1 | TSEnumDeclaration$1 | TSModuleDeclaration$1 | TSGlobalDeclaration | TSImportEqualsDeclaration$1;
|
|
307
|
+
|
|
308
|
+
declare interface Decorator$1 extends Span$1 {
|
|
309
|
+
type: "Decorator";
|
|
310
|
+
expression: Expression$1;
|
|
311
|
+
parent?: Node$1;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
declare interface Directive extends Span$1 {
|
|
315
|
+
type: "ExpressionStatement";
|
|
316
|
+
expression: StringLiteral$1;
|
|
317
|
+
directive: string;
|
|
318
|
+
parent?: Node$1;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
declare interface DoWhileStatement$1 extends Span$1 {
|
|
322
|
+
type: "DoWhileStatement";
|
|
323
|
+
body: Statement$1;
|
|
324
|
+
test: Expression$1;
|
|
325
|
+
parent?: Node$1;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
declare interface EmptyStatement$1 extends Span$1 {
|
|
329
|
+
type: "EmptyStatement";
|
|
330
|
+
parent?: Node$1;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export declare interface EvaluatorPluginDescriptor {
|
|
334
|
+
readonly kind: 'Evaluator';
|
|
335
|
+
readonly name: string;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export declare interface EvaluatorPluginSource {
|
|
339
|
+
readonly kind: 'Evaluator';
|
|
340
|
+
readonly name: string;
|
|
341
|
+
readonly modulePath: string;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
declare interface ExportAllDeclaration$1 extends Span$1 {
|
|
345
|
+
type: "ExportAllDeclaration";
|
|
346
|
+
exported: ModuleExportName | null;
|
|
347
|
+
source: StringLiteral$1;
|
|
348
|
+
attributes: Array<ImportAttribute$1>;
|
|
349
|
+
exportKind?: ImportOrExportKind;
|
|
350
|
+
parent?: Node$1;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
declare interface ExportDefaultDeclaration$1 extends Span$1 {
|
|
354
|
+
type: "ExportDefaultDeclaration";
|
|
355
|
+
declaration: ExportDefaultDeclarationKind;
|
|
356
|
+
exportKind?: "value";
|
|
357
|
+
parent?: Node$1;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
declare type ExportDefaultDeclarationKind = Function$1 | Class$1 | TSInterfaceDeclaration$1 | Expression$1;
|
|
361
|
+
|
|
362
|
+
declare interface ExportNamedDeclaration$1 extends Span$1 {
|
|
363
|
+
type: "ExportNamedDeclaration";
|
|
364
|
+
declaration: Declaration | null;
|
|
365
|
+
specifiers: Array<ExportSpecifier>;
|
|
366
|
+
source: StringLiteral$1 | null;
|
|
367
|
+
exportKind?: ImportOrExportKind;
|
|
368
|
+
attributes: Array<ImportAttribute$1>;
|
|
369
|
+
parent?: Node$1;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
declare interface ExportSpecifier extends Span$1 {
|
|
373
|
+
type: "ExportSpecifier";
|
|
374
|
+
local: ModuleExportName;
|
|
375
|
+
exported: ModuleExportName;
|
|
376
|
+
exportKind?: ImportOrExportKind;
|
|
377
|
+
parent?: Node$1;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
declare type Expression$1 = BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | IdentifierReference$1 | MetaProperty$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 | JSXElement$1 | JSXFragment$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSNonNullExpression$1 | TSInstantiationExpression$1 | V8IntrinsicExpression | MemberExpression$1;
|
|
381
|
+
|
|
382
|
+
declare interface ExpressionStatement$1 extends Span$1 {
|
|
383
|
+
type: "ExpressionStatement";
|
|
384
|
+
expression: Expression$1;
|
|
385
|
+
directive?: string | null;
|
|
386
|
+
parent?: Node$1;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
declare interface ForInStatement$1 extends Span$1 {
|
|
390
|
+
type: "ForInStatement";
|
|
391
|
+
left: ForStatementLeft;
|
|
392
|
+
right: Expression$1;
|
|
393
|
+
body: Statement$1;
|
|
394
|
+
parent?: Node$1;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
declare type FormalParameter = {
|
|
398
|
+
decorators?: Array<Decorator$1>;
|
|
399
|
+
} & BindingPattern$1;
|
|
400
|
+
|
|
401
|
+
declare interface FormalParameterRest extends Span$1 {
|
|
402
|
+
type: "RestElement";
|
|
403
|
+
argument: BindingPattern$1;
|
|
404
|
+
decorators?: [];
|
|
405
|
+
optional?: boolean;
|
|
406
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
407
|
+
value?: null;
|
|
408
|
+
parent?: Node$1;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
declare interface ForOfStatement$1 extends Span$1 {
|
|
412
|
+
type: "ForOfStatement";
|
|
413
|
+
await: boolean;
|
|
414
|
+
left: ForStatementLeft;
|
|
415
|
+
right: Expression$1;
|
|
416
|
+
body: Statement$1;
|
|
417
|
+
parent?: Node$1;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
declare interface ForStatement$1 extends Span$1 {
|
|
421
|
+
type: "ForStatement";
|
|
422
|
+
init: ForStatementInit | null;
|
|
423
|
+
test: Expression$1 | null;
|
|
424
|
+
update: Expression$1 | null;
|
|
425
|
+
body: Statement$1;
|
|
426
|
+
parent?: Node$1;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
declare type ForStatementInit = VariableDeclaration$1 | Expression$1;
|
|
430
|
+
|
|
431
|
+
declare type ForStatementLeft = VariableDeclaration$1 | AssignmentTarget;
|
|
432
|
+
|
|
433
|
+
declare interface Function$1 extends Span$1 {
|
|
434
|
+
type: FunctionType;
|
|
435
|
+
id: BindingIdentifier$1 | null;
|
|
436
|
+
generator: boolean;
|
|
437
|
+
async: boolean;
|
|
438
|
+
declare?: boolean;
|
|
439
|
+
typeParameters?: TSTypeParameterDeclaration$1 | null;
|
|
440
|
+
params: ParamPattern$1[];
|
|
441
|
+
returnType?: TSTypeAnnotation$1 | null;
|
|
442
|
+
body: FunctionBody | null;
|
|
443
|
+
expression: false;
|
|
444
|
+
parent?: Node$1;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
declare interface FunctionBody extends Span$1 {
|
|
448
|
+
type: "BlockStatement";
|
|
449
|
+
body: Array<Directive | Statement$1>;
|
|
450
|
+
parent?: Node$1;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
declare type FunctionType = "FunctionDeclaration" | "FunctionExpression" | "TSDeclareFunction" | "TSEmptyBodyFunctionExpression";
|
|
454
|
+
|
|
455
|
+
declare interface Hashbang extends Span$1 {
|
|
456
|
+
type: "Hashbang";
|
|
457
|
+
value: string;
|
|
458
|
+
parent?: Node$1;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
declare interface IdentifierName$1 extends Span$1 {
|
|
462
|
+
type: "Identifier";
|
|
463
|
+
decorators?: [];
|
|
464
|
+
name: string;
|
|
465
|
+
optional?: false;
|
|
466
|
+
typeAnnotation?: null;
|
|
467
|
+
parent?: Node$1;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
declare interface IdentifierReference$1 extends Span$1 {
|
|
471
|
+
type: "Identifier";
|
|
472
|
+
decorators?: [];
|
|
473
|
+
name: string;
|
|
474
|
+
optional?: false;
|
|
475
|
+
typeAnnotation?: null;
|
|
476
|
+
parent?: Node$1;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
declare interface IfStatement$1 extends Span$1 {
|
|
480
|
+
type: "IfStatement";
|
|
481
|
+
test: Expression$1;
|
|
482
|
+
consequent: Statement$1;
|
|
483
|
+
alternate: Statement$1 | null;
|
|
484
|
+
parent?: Node$1;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export declare interface Ignorer {
|
|
488
|
+
readonly name: string;
|
|
489
|
+
shouldIgnore(node: Node_2, ancestors: readonly Node_2[]): string | undefined;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
declare interface ImportAttribute$1 extends Span$1 {
|
|
493
|
+
type: "ImportAttribute";
|
|
494
|
+
key: ImportAttributeKey;
|
|
495
|
+
value: StringLiteral$1;
|
|
496
|
+
parent?: Node$1;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
declare type ImportAttributeKey = IdentifierName$1 | StringLiteral$1;
|
|
500
|
+
|
|
501
|
+
declare interface ImportDeclaration$1 extends Span$1 {
|
|
502
|
+
type: "ImportDeclaration";
|
|
503
|
+
specifiers: Array<ImportDeclarationSpecifier>;
|
|
504
|
+
source: StringLiteral$1;
|
|
505
|
+
phase: ImportPhase | null;
|
|
506
|
+
attributes: Array<ImportAttribute$1>;
|
|
507
|
+
importKind?: ImportOrExportKind;
|
|
508
|
+
parent?: Node$1;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
declare type ImportDeclarationSpecifier = ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier;
|
|
512
|
+
|
|
513
|
+
declare interface ImportDefaultSpecifier extends Span$1 {
|
|
514
|
+
type: "ImportDefaultSpecifier";
|
|
515
|
+
local: BindingIdentifier$1;
|
|
516
|
+
parent?: Node$1;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
declare interface ImportExpression$1 extends Span$1 {
|
|
520
|
+
type: "ImportExpression";
|
|
521
|
+
source: Expression$1;
|
|
522
|
+
options: Expression$1 | null;
|
|
523
|
+
phase: ImportPhase | null;
|
|
524
|
+
parent?: Node$1;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
declare interface ImportNamespaceSpecifier extends Span$1 {
|
|
528
|
+
type: "ImportNamespaceSpecifier";
|
|
529
|
+
local: BindingIdentifier$1;
|
|
530
|
+
parent?: Node$1;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
declare type ImportOrExportKind = "value" | "type";
|
|
534
|
+
|
|
535
|
+
declare type ImportPhase = "source" | "defer";
|
|
536
|
+
|
|
537
|
+
declare interface ImportSpecifier extends Span$1 {
|
|
538
|
+
type: "ImportSpecifier";
|
|
539
|
+
imported: ModuleExportName;
|
|
540
|
+
local: BindingIdentifier$1;
|
|
541
|
+
importKind?: ImportOrExportKind;
|
|
542
|
+
parent?: Node$1;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
declare interface JSDocNonNullableType$1 extends Span$1 {
|
|
546
|
+
type: "TSJSDocNonNullableType";
|
|
547
|
+
typeAnnotation: TSType$1;
|
|
548
|
+
postfix: boolean;
|
|
549
|
+
parent?: Node$1;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
declare interface JSDocNullableType$1 extends Span$1 {
|
|
553
|
+
type: "TSJSDocNullableType";
|
|
554
|
+
typeAnnotation: TSType$1;
|
|
555
|
+
postfix: boolean;
|
|
556
|
+
parent?: Node$1;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
declare interface JSDocUnknownType extends Span$1 {
|
|
560
|
+
type: "TSJSDocUnknownType";
|
|
561
|
+
parent?: Node$1;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
declare interface JSXAttribute$1 extends Span$1 {
|
|
565
|
+
type: "JSXAttribute";
|
|
566
|
+
name: JSXAttributeName;
|
|
567
|
+
value: JSXAttributeValue | null;
|
|
568
|
+
parent?: Node$1;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
declare type JSXAttributeItem = JSXAttribute$1 | JSXSpreadAttribute$1;
|
|
572
|
+
|
|
573
|
+
declare type JSXAttributeName = JSXIdentifier$1 | JSXNamespacedName$1;
|
|
574
|
+
|
|
575
|
+
declare type JSXAttributeValue = StringLiteral$1 | JSXExpressionContainer$1 | JSXElement$1 | JSXFragment$1;
|
|
576
|
+
|
|
577
|
+
declare type JSXChild = JSXText$1 | JSXElement$1 | JSXFragment$1 | JSXExpressionContainer$1 | JSXSpreadChild$1;
|
|
578
|
+
|
|
579
|
+
declare interface JSXClosingElement extends Span$1 {
|
|
580
|
+
type: "JSXClosingElement";
|
|
581
|
+
name: JSXElementName;
|
|
582
|
+
parent?: Node$1;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
declare interface JSXClosingFragment extends Span$1 {
|
|
586
|
+
type: "JSXClosingFragment";
|
|
587
|
+
parent?: Node$1;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
declare interface JSXElement$1 extends Span$1 {
|
|
591
|
+
type: "JSXElement";
|
|
592
|
+
openingElement: JSXOpeningElement$1;
|
|
593
|
+
children: Array<JSXChild>;
|
|
594
|
+
closingElement: JSXClosingElement | null;
|
|
595
|
+
parent?: Node$1;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
declare type JSXElementName = JSXIdentifier$1 | JSXNamespacedName$1 | JSXMemberExpression$1;
|
|
599
|
+
|
|
600
|
+
declare interface JSXEmptyExpression extends Span$1 {
|
|
601
|
+
type: "JSXEmptyExpression";
|
|
602
|
+
parent?: Node$1;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
declare type JSXExpression = JSXEmptyExpression | Expression$1;
|
|
606
|
+
|
|
607
|
+
declare interface JSXExpressionContainer$1 extends Span$1 {
|
|
608
|
+
type: "JSXExpressionContainer";
|
|
609
|
+
expression: JSXExpression;
|
|
610
|
+
parent?: Node$1;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
declare interface JSXFragment$1 extends Span$1 {
|
|
614
|
+
type: "JSXFragment";
|
|
615
|
+
openingFragment: JSXOpeningFragment;
|
|
616
|
+
children: Array<JSXChild>;
|
|
617
|
+
closingFragment: JSXClosingFragment;
|
|
618
|
+
parent?: Node$1;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
declare interface JSXIdentifier$1 extends Span$1 {
|
|
622
|
+
type: "JSXIdentifier";
|
|
623
|
+
name: string;
|
|
624
|
+
parent?: Node$1;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
declare interface JSXMemberExpression$1 extends Span$1 {
|
|
628
|
+
type: "JSXMemberExpression";
|
|
629
|
+
object: JSXMemberExpressionObject;
|
|
630
|
+
property: JSXIdentifier$1;
|
|
631
|
+
parent?: Node$1;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
declare type JSXMemberExpressionObject = JSXIdentifier$1 | JSXMemberExpression$1;
|
|
635
|
+
|
|
636
|
+
declare interface JSXNamespacedName$1 extends Span$1 {
|
|
637
|
+
type: "JSXNamespacedName";
|
|
638
|
+
namespace: JSXIdentifier$1;
|
|
639
|
+
name: JSXIdentifier$1;
|
|
640
|
+
parent?: Node$1;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
declare interface JSXOpeningElement$1 extends Span$1 {
|
|
644
|
+
type: "JSXOpeningElement";
|
|
645
|
+
name: JSXElementName;
|
|
646
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
647
|
+
attributes: Array<JSXAttributeItem>;
|
|
648
|
+
selfClosing: boolean;
|
|
649
|
+
parent?: Node$1;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
declare interface JSXOpeningFragment extends Span$1 {
|
|
653
|
+
type: "JSXOpeningFragment";
|
|
654
|
+
attributes?: [];
|
|
655
|
+
selfClosing?: false;
|
|
656
|
+
parent?: Node$1;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
declare interface JSXSpreadAttribute$1 extends Span$1 {
|
|
660
|
+
type: "JSXSpreadAttribute";
|
|
661
|
+
argument: Expression$1;
|
|
662
|
+
parent?: Node$1;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
declare interface JSXSpreadChild$1 extends Span$1 {
|
|
666
|
+
type: "JSXSpreadChild";
|
|
667
|
+
expression: Expression$1;
|
|
668
|
+
parent?: Node$1;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
declare interface JSXText$1 extends Span$1 {
|
|
672
|
+
type: "JSXText";
|
|
673
|
+
value: string;
|
|
674
|
+
raw: string | null;
|
|
675
|
+
parent?: Node$1;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
declare interface LabeledStatement$1 extends Span$1 {
|
|
679
|
+
type: "LabeledStatement";
|
|
680
|
+
label: LabelIdentifier$1;
|
|
681
|
+
body: Statement$1;
|
|
682
|
+
parent?: Node$1;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
declare interface LabelIdentifier$1 extends Span$1 {
|
|
686
|
+
type: "Identifier";
|
|
687
|
+
decorators?: [];
|
|
688
|
+
name: string;
|
|
689
|
+
optional?: false;
|
|
690
|
+
typeAnnotation?: null;
|
|
691
|
+
parent?: Node$1;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export declare interface LoadedPlugins {
|
|
695
|
+
readonly schemaContributions: readonly Record<string, unknown>[];
|
|
696
|
+
readonly pluginsByKind: HashMap.HashMap<PluginKind, readonly PluginDescriptor[]>;
|
|
697
|
+
readonly pluginModulePaths: readonly string[];
|
|
698
|
+
readonly pluginSources: readonly PluginSource[];
|
|
699
|
+
readonly ignorers: readonly Ignorer[];
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export declare function loadPlugins(pluginDescriptors: readonly string[]): Effect.Effect<LoadedPlugins, PluginLoadFailedError, Path.Path>;
|
|
703
|
+
|
|
704
|
+
declare interface LogicalExpression$1 extends Span$1 {
|
|
705
|
+
type: "LogicalExpression";
|
|
706
|
+
left: Expression$1;
|
|
707
|
+
operator: LogicalOperator;
|
|
708
|
+
right: Expression$1;
|
|
709
|
+
parent?: Node$1;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
declare type LogicalOperator = "||" | "&&" | "??";
|
|
713
|
+
|
|
714
|
+
declare type MemberExpression$1 = ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression;
|
|
715
|
+
|
|
716
|
+
declare interface MetaProperty$1 extends Span$1 {
|
|
717
|
+
type: "MetaProperty";
|
|
718
|
+
meta: IdentifierName$1;
|
|
719
|
+
property: IdentifierName$1;
|
|
720
|
+
parent?: Node$1;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
declare interface MethodDefinition$1 extends Span$1 {
|
|
724
|
+
type: MethodDefinitionType;
|
|
725
|
+
decorators: Array<Decorator$1>;
|
|
726
|
+
key: PropertyKey_2;
|
|
727
|
+
value: Function$1;
|
|
728
|
+
kind: MethodDefinitionKind;
|
|
729
|
+
computed: boolean;
|
|
730
|
+
static: boolean;
|
|
731
|
+
override?: boolean;
|
|
732
|
+
optional?: boolean;
|
|
733
|
+
accessibility?: TSAccessibility | null;
|
|
734
|
+
parent?: Node$1;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
declare type MethodDefinitionKind = "constructor" | "method" | "get" | "set";
|
|
738
|
+
|
|
739
|
+
declare type MethodDefinitionType = "MethodDefinition" | "TSAbstractMethodDefinition";
|
|
740
|
+
|
|
741
|
+
declare type ModuleDeclaration = ImportDeclaration$1 | ExportAllDeclaration$1 | ExportDefaultDeclaration$1 | ExportNamedDeclaration$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1;
|
|
742
|
+
|
|
743
|
+
declare type ModuleExportName = IdentifierName$1 | IdentifierReference$1 | StringLiteral$1;
|
|
744
|
+
|
|
745
|
+
declare type ModuleKind = "script" | "module" | "commonjs";
|
|
746
|
+
|
|
747
|
+
declare interface NewExpression$1 extends Span$1 {
|
|
748
|
+
type: "NewExpression";
|
|
749
|
+
callee: Expression$1;
|
|
750
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
751
|
+
arguments: Array<Argument$1>;
|
|
752
|
+
parent?: Node$1;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
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;
|
|
756
|
+
|
|
757
|
+
declare type Node_2 = Simplify<Built<Node$1>> | Node$1;
|
|
758
|
+
|
|
759
|
+
declare interface NullLiteral$1 extends Span$1 {
|
|
760
|
+
type: "Literal";
|
|
761
|
+
value: null;
|
|
762
|
+
raw: "null" | null;
|
|
763
|
+
parent?: Node$1;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
declare interface NumericLiteral$1 extends Span$1 {
|
|
767
|
+
type: "Literal";
|
|
768
|
+
value: number;
|
|
769
|
+
raw: string | null;
|
|
770
|
+
parent?: Node$1;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
declare interface ObjectAssignmentTarget extends Span$1 {
|
|
774
|
+
type: "ObjectPattern";
|
|
775
|
+
decorators?: [];
|
|
776
|
+
properties: Array<AssignmentTargetProperty | AssignmentTargetRest>;
|
|
777
|
+
optional?: false;
|
|
778
|
+
typeAnnotation?: null;
|
|
779
|
+
parent?: Node$1;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
declare interface ObjectExpression$1 extends Span$1 {
|
|
783
|
+
type: "ObjectExpression";
|
|
784
|
+
properties: Array<ObjectPropertyKind>;
|
|
785
|
+
parent?: Node$1;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
declare interface ObjectPattern extends Span$1 {
|
|
789
|
+
type: "ObjectPattern";
|
|
790
|
+
decorators?: [];
|
|
791
|
+
properties: Array<BindingProperty$1 | BindingRestElement$1>;
|
|
792
|
+
optional?: false;
|
|
793
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
794
|
+
parent?: Node$1;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
declare interface ObjectProperty$1 extends Span$1 {
|
|
798
|
+
type: "Property";
|
|
799
|
+
kind: PropertyKind;
|
|
800
|
+
key: PropertyKey_2;
|
|
801
|
+
value: Expression$1;
|
|
802
|
+
method: boolean;
|
|
803
|
+
shorthand: boolean;
|
|
804
|
+
computed: boolean;
|
|
805
|
+
optional?: false;
|
|
806
|
+
parent?: Node$1;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
declare type ObjectPropertyKind = ObjectProperty$1 | SpreadElement$1;
|
|
810
|
+
|
|
811
|
+
declare type ParamPattern$1 = FormalParameter | TSParameterProperty | FormalParameterRest;
|
|
812
|
+
|
|
813
|
+
declare interface ParenthesizedExpression extends Span$1 {
|
|
814
|
+
type: "ParenthesizedExpression";
|
|
815
|
+
expression: Expression$1;
|
|
816
|
+
parent?: Node$1;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
export declare type PluginDescriptor<K extends PluginKind = PluginKind> = PluginDescriptorOf<K>;
|
|
820
|
+
|
|
821
|
+
export declare type PluginDescriptorOf<K extends PluginKind> = Extract<AnyPluginDescriptor, {
|
|
822
|
+
readonly kind: K;
|
|
823
|
+
}>;
|
|
824
|
+
|
|
825
|
+
export declare type PluginKind = WorkerPluginKind | 'Evaluator';
|
|
826
|
+
|
|
827
|
+
export declare interface PluginLoaderEntryLike {
|
|
828
|
+
readonly moduleName: string;
|
|
829
|
+
readonly plugins: readonly PluginDescriptor[] | undefined;
|
|
830
|
+
readonly schemaContribution: Record<string, unknown> | undefined;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export declare class PluginLoadFailedError extends PluginLoadFailedError_base {
|
|
834
|
+
readonly exitClass: 'InternalError';
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
declare const PluginLoadFailedError_base: Schema.Class<PluginLoadFailedError, Schema.TaggedStruct<"PluginLoadFailedError", {
|
|
838
|
+
readonly descriptor: Schema.String;
|
|
839
|
+
readonly cause: Schema.Unknown;
|
|
840
|
+
}>, YieldableError>;
|
|
841
|
+
|
|
842
|
+
export declare interface PluginLoadPlan {
|
|
843
|
+
readonly schemaContributions: readonly Record<string, unknown>[];
|
|
844
|
+
readonly pluginsByKind: HashMap.HashMap<PluginKind, readonly PluginDescriptor[]>;
|
|
845
|
+
readonly pluginModulePaths: readonly string[];
|
|
846
|
+
readonly pluginSources: readonly PluginSource[];
|
|
847
|
+
readonly shadowings: readonly {
|
|
848
|
+
readonly kind: PluginKind;
|
|
849
|
+
readonly name: string;
|
|
850
|
+
readonly shadowedIndex: number;
|
|
851
|
+
readonly winnerIndex: number;
|
|
852
|
+
}[];
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export declare class PluginNotFoundError extends PluginNotFoundError_base {
|
|
856
|
+
readonly exitClass: 'ConfigError';
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
declare const PluginNotFoundError_base: Schema.Class<PluginNotFoundError, Schema.TaggedStruct<"PluginNotFoundError", {
|
|
860
|
+
readonly descriptor: Schema.String;
|
|
861
|
+
}>, YieldableError>;
|
|
862
|
+
|
|
863
|
+
export declare type PluginSource = AnyWorkerPluginSource | EvaluatorPluginSource;
|
|
864
|
+
|
|
865
|
+
declare interface PrivateFieldExpression extends Span$1 {
|
|
866
|
+
type: "MemberExpression";
|
|
867
|
+
object: Expression$1;
|
|
868
|
+
property: PrivateIdentifier$1;
|
|
869
|
+
optional: boolean;
|
|
870
|
+
computed: false;
|
|
871
|
+
parent?: Node$1;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
declare interface PrivateIdentifier$1 extends Span$1 {
|
|
875
|
+
type: "PrivateIdentifier";
|
|
876
|
+
name: string;
|
|
877
|
+
parent?: Node$1;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
declare interface PrivateInExpression$1 extends Span$1 {
|
|
881
|
+
type: "BinaryExpression";
|
|
882
|
+
left: PrivateIdentifier$1;
|
|
883
|
+
operator: "in";
|
|
884
|
+
right: Expression$1;
|
|
885
|
+
parent?: Node$1;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
declare interface Program$1 extends Span$1 {
|
|
889
|
+
type: "Program";
|
|
890
|
+
body: Array<Directive | Statement$1>;
|
|
891
|
+
sourceType: ModuleKind;
|
|
892
|
+
hashbang: Hashbang | null;
|
|
893
|
+
parent?: null;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
declare interface PropertyDefinition$1 extends Span$1 {
|
|
897
|
+
type: PropertyDefinitionType;
|
|
898
|
+
decorators: Array<Decorator$1>;
|
|
899
|
+
key: PropertyKey_2;
|
|
900
|
+
typeAnnotation?: TSTypeAnnotation$1 | null;
|
|
901
|
+
value: Expression$1 | null;
|
|
902
|
+
computed: boolean;
|
|
903
|
+
static: boolean;
|
|
904
|
+
declare?: boolean;
|
|
905
|
+
override?: boolean;
|
|
906
|
+
optional?: boolean;
|
|
907
|
+
definite?: boolean;
|
|
908
|
+
readonly?: boolean;
|
|
909
|
+
accessibility?: TSAccessibility | null;
|
|
910
|
+
parent?: Node$1;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
declare type PropertyDefinitionType = "PropertyDefinition" | "TSAbstractPropertyDefinition";
|
|
914
|
+
|
|
915
|
+
declare type PropertyKey_2 = IdentifierName$1 | PrivateIdentifier$1 | Expression$1;
|
|
916
|
+
|
|
917
|
+
declare type PropertyKind = "init" | "get" | "set";
|
|
918
|
+
|
|
919
|
+
declare interface RegExpLiteral$1 extends Span$1 {
|
|
920
|
+
type: "Literal";
|
|
921
|
+
value: RegExp | null;
|
|
922
|
+
raw: string | null;
|
|
923
|
+
regex: {
|
|
924
|
+
pattern: string;
|
|
925
|
+
flags: string;
|
|
926
|
+
};
|
|
927
|
+
parent?: Node$1;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
export declare const resolvePluginWorkerEntry: (params: {
|
|
931
|
+
readonly loaded: Pick<LoadedPlugins, 'pluginSources'>;
|
|
932
|
+
readonly kind: WorkerPluginKind;
|
|
933
|
+
readonly name: string;
|
|
934
|
+
}) => Effect.Effect<WorkerPluginSpawn, PluginNotFoundError>;
|
|
935
|
+
|
|
936
|
+
declare interface ReturnStatement$1 extends Span$1 {
|
|
937
|
+
type: "ReturnStatement";
|
|
938
|
+
argument: Expression$1 | null;
|
|
939
|
+
parent?: Node$1;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
declare interface SequenceExpression$1 extends Span$1 {
|
|
943
|
+
type: "SequenceExpression";
|
|
944
|
+
expressions: Array<Expression$1>;
|
|
945
|
+
parent?: Node$1;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
declare type SimpleAssignmentTarget$1 = IdentifierReference$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSNonNullExpression$1 | TSTypeAssertion$1 | MemberExpression$1;
|
|
949
|
+
|
|
950
|
+
declare type Simplify<T> = { [K in keyof T]: T[K]; } & {};
|
|
951
|
+
|
|
952
|
+
declare interface Span$1 {
|
|
953
|
+
start: number;
|
|
954
|
+
end: number;
|
|
955
|
+
range?: [number, number];
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
declare interface SpreadElement$1 extends Span$1 {
|
|
959
|
+
type: "SpreadElement";
|
|
960
|
+
argument: Expression$1;
|
|
961
|
+
parent?: Node$1;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
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;
|
|
965
|
+
|
|
966
|
+
declare interface StaticBlock$1 extends Span$1 {
|
|
967
|
+
type: "StaticBlock";
|
|
968
|
+
body: Array<Statement$1>;
|
|
969
|
+
parent?: Node$1;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
declare interface StaticMemberExpression$1 extends Span$1 {
|
|
973
|
+
type: "MemberExpression";
|
|
974
|
+
object: Expression$1;
|
|
975
|
+
property: IdentifierName$1;
|
|
976
|
+
optional: boolean;
|
|
977
|
+
computed: false;
|
|
978
|
+
parent?: Node$1;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
declare interface StringLiteral$1 extends Span$1 {
|
|
982
|
+
type: "Literal";
|
|
983
|
+
value: string;
|
|
984
|
+
raw: string | null;
|
|
985
|
+
parent?: Node$1;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
declare interface Super$1 extends Span$1 {
|
|
989
|
+
type: "Super";
|
|
990
|
+
parent?: Node$1;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
declare interface SwitchCase$1 extends Span$1 {
|
|
994
|
+
type: "SwitchCase";
|
|
995
|
+
test: Expression$1 | null;
|
|
996
|
+
consequent: Array<Statement$1>;
|
|
997
|
+
parent?: Node$1;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
declare interface SwitchStatement$1 extends Span$1 {
|
|
1001
|
+
type: "SwitchStatement";
|
|
1002
|
+
discriminant: Expression$1;
|
|
1003
|
+
cases: Array<SwitchCase$1>;
|
|
1004
|
+
parent?: Node$1;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
declare interface TaggedTemplateExpression$1 extends Span$1 {
|
|
1008
|
+
type: "TaggedTemplateExpression";
|
|
1009
|
+
tag: Expression$1;
|
|
1010
|
+
typeArguments?: TSTypeParameterInstantiation$1 | null;
|
|
1011
|
+
quasi: TemplateLiteral$1;
|
|
1012
|
+
parent?: Node$1;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
declare interface TemplateElement$1 extends Span$1 {
|
|
1016
|
+
type: "TemplateElement";
|
|
1017
|
+
value: TemplateElementValue;
|
|
1018
|
+
tail: boolean;
|
|
1019
|
+
parent?: Node$1;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
declare interface TemplateElementValue {
|
|
1023
|
+
raw: string;
|
|
1024
|
+
cooked: string | null;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
declare interface TemplateLiteral$1 extends Span$1 {
|
|
1028
|
+
type: "TemplateLiteral";
|
|
1029
|
+
quasis: Array<TemplateElement$1>;
|
|
1030
|
+
expressions: Array<Expression$1>;
|
|
1031
|
+
parent?: Node$1;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
declare interface ThisExpression$1 extends Span$1 {
|
|
1035
|
+
type: "ThisExpression";
|
|
1036
|
+
parent?: Node$1;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
declare interface ThrowStatement$1 extends Span$1 {
|
|
1040
|
+
type: "ThrowStatement";
|
|
1041
|
+
argument: Expression$1;
|
|
1042
|
+
parent?: Node$1;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
declare interface TryStatement$1 extends Span$1 {
|
|
1046
|
+
type: "TryStatement";
|
|
1047
|
+
block: BlockStatement$1;
|
|
1048
|
+
handler: CatchClause$1 | null;
|
|
1049
|
+
finalizer: BlockStatement$1 | null;
|
|
1050
|
+
parent?: Node$1;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
declare type TSAccessibility = "private" | "protected" | "public";
|
|
1054
|
+
|
|
1055
|
+
declare interface TSAnyKeyword extends Span$1 {
|
|
1056
|
+
type: "TSAnyKeyword";
|
|
1057
|
+
parent?: Node$1;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
declare interface TSArrayType$1 extends Span$1 {
|
|
1061
|
+
type: "TSArrayType";
|
|
1062
|
+
elementType: TSType$1;
|
|
1063
|
+
parent?: Node$1;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
declare interface TSAsExpression$1 extends Span$1 {
|
|
1067
|
+
type: "TSAsExpression";
|
|
1068
|
+
expression: Expression$1;
|
|
1069
|
+
typeAnnotation: TSType$1;
|
|
1070
|
+
parent?: Node$1;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
declare interface TSBigIntKeyword extends Span$1 {
|
|
1074
|
+
type: "TSBigIntKeyword";
|
|
1075
|
+
parent?: Node$1;
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
declare interface TSBooleanKeyword extends Span$1 {
|
|
1079
|
+
type: "TSBooleanKeyword";
|
|
1080
|
+
parent?: Node$1;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
declare interface TSCallSignatureDeclaration$1 extends Span$1 {
|
|
1084
|
+
type: "TSCallSignatureDeclaration";
|
|
1085
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
1086
|
+
params: ParamPattern$1[];
|
|
1087
|
+
returnType: TSTypeAnnotation$1 | null;
|
|
1088
|
+
parent?: Node$1;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
declare interface TSClassImplements extends Span$1 {
|
|
1092
|
+
type: "TSClassImplements";
|
|
1093
|
+
expression: IdentifierReference$1 | ThisExpression$1 | MemberExpression$1;
|
|
1094
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
1095
|
+
parent?: Node$1;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
declare interface TSConditionalType$1 extends Span$1 {
|
|
1099
|
+
type: "TSConditionalType";
|
|
1100
|
+
checkType: TSType$1;
|
|
1101
|
+
extendsType: TSType$1;
|
|
1102
|
+
trueType: TSType$1;
|
|
1103
|
+
falseType: TSType$1;
|
|
1104
|
+
parent?: Node$1;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
declare interface TSConstructorType$1 extends Span$1 {
|
|
1108
|
+
type: "TSConstructorType";
|
|
1109
|
+
abstract: boolean;
|
|
1110
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
1111
|
+
params: ParamPattern$1[];
|
|
1112
|
+
returnType: TSTypeAnnotation$1;
|
|
1113
|
+
parent?: Node$1;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
declare interface TSConstructSignatureDeclaration$1 extends Span$1 {
|
|
1117
|
+
type: "TSConstructSignatureDeclaration";
|
|
1118
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
1119
|
+
params: ParamPattern$1[];
|
|
1120
|
+
returnType: TSTypeAnnotation$1 | null;
|
|
1121
|
+
parent?: Node$1;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
declare interface TSEnumBody extends Span$1 {
|
|
1125
|
+
type: "TSEnumBody";
|
|
1126
|
+
members: Array<TSEnumMember>;
|
|
1127
|
+
parent?: Node$1;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
declare interface TSEnumDeclaration$1 extends Span$1 {
|
|
1131
|
+
type: "TSEnumDeclaration";
|
|
1132
|
+
id: BindingIdentifier$1;
|
|
1133
|
+
body: TSEnumBody;
|
|
1134
|
+
const: boolean;
|
|
1135
|
+
declare: boolean;
|
|
1136
|
+
parent?: Node$1;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
declare interface TSEnumMember extends Span$1 {
|
|
1140
|
+
type: "TSEnumMember";
|
|
1141
|
+
id: TSEnumMemberName;
|
|
1142
|
+
initializer: Expression$1 | null;
|
|
1143
|
+
computed: boolean;
|
|
1144
|
+
parent?: Node$1;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
declare type TSEnumMemberName = IdentifierName$1 | StringLiteral$1 | TemplateLiteral$1;
|
|
1148
|
+
|
|
1149
|
+
declare interface TSExportAssignment$1 extends Span$1 {
|
|
1150
|
+
type: "TSExportAssignment";
|
|
1151
|
+
expression: Expression$1;
|
|
1152
|
+
parent?: Node$1;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
declare interface TSExternalModuleReference extends Span$1 {
|
|
1156
|
+
type: "TSExternalModuleReference";
|
|
1157
|
+
expression: StringLiteral$1;
|
|
1158
|
+
parent?: Node$1;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
declare interface TSFunctionType$1 extends Span$1 {
|
|
1162
|
+
type: "TSFunctionType";
|
|
1163
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
1164
|
+
params: ParamPattern$1[];
|
|
1165
|
+
returnType: TSTypeAnnotation$1;
|
|
1166
|
+
parent?: Node$1;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
declare interface TSGlobalDeclaration extends Span$1 {
|
|
1170
|
+
type: "TSModuleDeclaration";
|
|
1171
|
+
id: IdentifierName$1;
|
|
1172
|
+
body: TSModuleBlock$1;
|
|
1173
|
+
kind: "global";
|
|
1174
|
+
declare: boolean;
|
|
1175
|
+
global: true;
|
|
1176
|
+
parent?: Node$1;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
declare interface TSImportEqualsDeclaration$1 extends Span$1 {
|
|
1180
|
+
type: "TSImportEqualsDeclaration";
|
|
1181
|
+
id: BindingIdentifier$1;
|
|
1182
|
+
moduleReference: TSModuleReference;
|
|
1183
|
+
importKind: ImportOrExportKind;
|
|
1184
|
+
parent?: Node$1;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
declare interface TSImportType$1 extends Span$1 {
|
|
1188
|
+
type: "TSImportType";
|
|
1189
|
+
source: StringLiteral$1;
|
|
1190
|
+
options: ObjectExpression$1 | null;
|
|
1191
|
+
qualifier: TSImportTypeQualifier | null;
|
|
1192
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
1193
|
+
parent?: Node$1;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
declare interface TSImportTypeQualifiedName extends Span$1 {
|
|
1197
|
+
type: "TSQualifiedName";
|
|
1198
|
+
left: TSImportTypeQualifier;
|
|
1199
|
+
right: IdentifierName$1;
|
|
1200
|
+
parent?: Node$1;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
declare type TSImportTypeQualifier = IdentifierName$1 | TSImportTypeQualifiedName;
|
|
1204
|
+
|
|
1205
|
+
declare interface TSIndexedAccessType$1 extends Span$1 {
|
|
1206
|
+
type: "TSIndexedAccessType";
|
|
1207
|
+
objectType: TSType$1;
|
|
1208
|
+
indexType: TSType$1;
|
|
1209
|
+
parent?: Node$1;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
declare interface TSIndexSignature$1 extends Span$1 {
|
|
1213
|
+
type: "TSIndexSignature";
|
|
1214
|
+
parameters: Array<TSIndexSignatureName>;
|
|
1215
|
+
typeAnnotation: TSTypeAnnotation$1;
|
|
1216
|
+
readonly: boolean;
|
|
1217
|
+
static: boolean;
|
|
1218
|
+
accessibility: null;
|
|
1219
|
+
parent?: Node$1;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
declare interface TSIndexSignatureName extends Span$1 {
|
|
1223
|
+
type: "Identifier";
|
|
1224
|
+
decorators: [];
|
|
1225
|
+
name: string;
|
|
1226
|
+
optional: false;
|
|
1227
|
+
typeAnnotation: TSTypeAnnotation$1;
|
|
1228
|
+
parent?: Node$1;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
declare interface TSInferType$1 extends Span$1 {
|
|
1232
|
+
type: "TSInferType";
|
|
1233
|
+
typeParameter: TSTypeParameter;
|
|
1234
|
+
parent?: Node$1;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
declare interface TSInstantiationExpression$1 extends Span$1 {
|
|
1238
|
+
type: "TSInstantiationExpression";
|
|
1239
|
+
expression: Expression$1;
|
|
1240
|
+
typeArguments: TSTypeParameterInstantiation$1;
|
|
1241
|
+
parent?: Node$1;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
declare interface TSInterfaceBody$1 extends Span$1 {
|
|
1245
|
+
type: "TSInterfaceBody";
|
|
1246
|
+
body: Array<TSSignature>;
|
|
1247
|
+
parent?: Node$1;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
declare interface TSInterfaceDeclaration$1 extends Span$1 {
|
|
1251
|
+
type: "TSInterfaceDeclaration";
|
|
1252
|
+
id: BindingIdentifier$1;
|
|
1253
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
1254
|
+
extends: Array<TSInterfaceHeritage>;
|
|
1255
|
+
body: TSInterfaceBody$1;
|
|
1256
|
+
declare: boolean;
|
|
1257
|
+
parent?: Node$1;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
declare interface TSInterfaceHeritage extends Span$1 {
|
|
1261
|
+
type: "TSInterfaceHeritage";
|
|
1262
|
+
expression: Expression$1;
|
|
1263
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
1264
|
+
parent?: Node$1;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
declare interface TSIntersectionType$1 extends Span$1 {
|
|
1268
|
+
type: "TSIntersectionType";
|
|
1269
|
+
types: Array<TSType$1>;
|
|
1270
|
+
parent?: Node$1;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
declare interface TSIntrinsicKeyword extends Span$1 {
|
|
1274
|
+
type: "TSIntrinsicKeyword";
|
|
1275
|
+
parent?: Node$1;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
declare type TSLiteral = BooleanLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | UnaryExpression$1;
|
|
1279
|
+
|
|
1280
|
+
declare interface TSLiteralType$1 extends Span$1 {
|
|
1281
|
+
type: "TSLiteralType";
|
|
1282
|
+
literal: TSLiteral;
|
|
1283
|
+
parent?: Node$1;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
declare interface TSMappedType$1 extends Span$1 {
|
|
1287
|
+
type: "TSMappedType";
|
|
1288
|
+
key: BindingIdentifier$1;
|
|
1289
|
+
constraint: TSType$1;
|
|
1290
|
+
nameType: TSType$1 | null;
|
|
1291
|
+
typeAnnotation: TSType$1 | null;
|
|
1292
|
+
optional: TSMappedTypeModifierOperator | false;
|
|
1293
|
+
readonly: TSMappedTypeModifierOperator | null;
|
|
1294
|
+
parent?: Node$1;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
declare type TSMappedTypeModifierOperator = true | "+" | "-";
|
|
1298
|
+
|
|
1299
|
+
declare interface TSMethodSignature$1 extends Span$1 {
|
|
1300
|
+
type: "TSMethodSignature";
|
|
1301
|
+
key: PropertyKey_2;
|
|
1302
|
+
computed: boolean;
|
|
1303
|
+
optional: boolean;
|
|
1304
|
+
kind: TSMethodSignatureKind;
|
|
1305
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
1306
|
+
params: ParamPattern$1[];
|
|
1307
|
+
returnType: TSTypeAnnotation$1 | null;
|
|
1308
|
+
accessibility: null;
|
|
1309
|
+
readonly: false;
|
|
1310
|
+
static: false;
|
|
1311
|
+
parent?: Node$1;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
declare type TSMethodSignatureKind = "method" | "get" | "set";
|
|
1315
|
+
|
|
1316
|
+
declare interface TSModuleBlock$1 extends Span$1 {
|
|
1317
|
+
type: "TSModuleBlock";
|
|
1318
|
+
body: Array<Directive | Statement$1>;
|
|
1319
|
+
parent?: Node$1;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
declare interface TSModuleDeclaration$1 extends Span$1 {
|
|
1323
|
+
type: "TSModuleDeclaration";
|
|
1324
|
+
id: BindingIdentifier$1 | StringLiteral$1 | TSQualifiedName$1;
|
|
1325
|
+
body: TSModuleBlock$1 | null;
|
|
1326
|
+
kind: TSModuleDeclarationKind;
|
|
1327
|
+
declare: boolean;
|
|
1328
|
+
global: false;
|
|
1329
|
+
parent?: Node$1;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
declare type TSModuleDeclarationKind = "module" | "namespace";
|
|
1333
|
+
|
|
1334
|
+
declare type TSModuleReference = TSExternalModuleReference | IdentifierReference$1 | TSQualifiedName$1;
|
|
1335
|
+
|
|
1336
|
+
declare interface TSNamedTupleMember$1 extends Span$1 {
|
|
1337
|
+
type: "TSNamedTupleMember";
|
|
1338
|
+
label: IdentifierName$1;
|
|
1339
|
+
elementType: TSTupleElement;
|
|
1340
|
+
optional: boolean;
|
|
1341
|
+
parent?: Node$1;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
declare interface TSNamespaceExportDeclaration$1 extends Span$1 {
|
|
1345
|
+
type: "TSNamespaceExportDeclaration";
|
|
1346
|
+
id: IdentifierName$1;
|
|
1347
|
+
parent?: Node$1;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
declare interface TSNeverKeyword extends Span$1 {
|
|
1351
|
+
type: "TSNeverKeyword";
|
|
1352
|
+
parent?: Node$1;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
declare interface TSNonNullExpression$1 extends Span$1 {
|
|
1356
|
+
type: "TSNonNullExpression";
|
|
1357
|
+
expression: Expression$1;
|
|
1358
|
+
parent?: Node$1;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
declare interface TSNullKeyword extends Span$1 {
|
|
1362
|
+
type: "TSNullKeyword";
|
|
1363
|
+
parent?: Node$1;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
declare interface TSNumberKeyword extends Span$1 {
|
|
1367
|
+
type: "TSNumberKeyword";
|
|
1368
|
+
parent?: Node$1;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
declare interface TSObjectKeyword extends Span$1 {
|
|
1372
|
+
type: "TSObjectKeyword";
|
|
1373
|
+
parent?: Node$1;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
declare interface TSOptionalType$1 extends Span$1 {
|
|
1377
|
+
type: "TSOptionalType";
|
|
1378
|
+
typeAnnotation: TSType$1;
|
|
1379
|
+
parent?: Node$1;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
declare interface TSParameterProperty extends Span$1 {
|
|
1383
|
+
type: "TSParameterProperty";
|
|
1384
|
+
accessibility: TSAccessibility | null;
|
|
1385
|
+
decorators: Array<Decorator$1>;
|
|
1386
|
+
override: boolean;
|
|
1387
|
+
parameter: FormalParameter;
|
|
1388
|
+
readonly: boolean;
|
|
1389
|
+
static: boolean;
|
|
1390
|
+
parent?: Node$1;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
declare interface TSParenthesizedType$1 extends Span$1 {
|
|
1394
|
+
type: "TSParenthesizedType";
|
|
1395
|
+
typeAnnotation: TSType$1;
|
|
1396
|
+
parent?: Node$1;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
declare interface TSPropertySignature$1 extends Span$1 {
|
|
1400
|
+
type: "TSPropertySignature";
|
|
1401
|
+
computed: boolean;
|
|
1402
|
+
optional: boolean;
|
|
1403
|
+
readonly: boolean;
|
|
1404
|
+
key: PropertyKey_2;
|
|
1405
|
+
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
1406
|
+
accessibility: null;
|
|
1407
|
+
static: false;
|
|
1408
|
+
parent?: Node$1;
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
declare interface TSQualifiedName$1 extends Span$1 {
|
|
1412
|
+
type: "TSQualifiedName";
|
|
1413
|
+
left: TSTypeName;
|
|
1414
|
+
right: IdentifierName$1;
|
|
1415
|
+
parent?: Node$1;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
declare interface TSRestType$1 extends Span$1 {
|
|
1419
|
+
type: "TSRestType";
|
|
1420
|
+
typeAnnotation: TSType$1;
|
|
1421
|
+
parent?: Node$1;
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
declare interface TSSatisfiesExpression$1 extends Span$1 {
|
|
1425
|
+
type: "TSSatisfiesExpression";
|
|
1426
|
+
expression: Expression$1;
|
|
1427
|
+
typeAnnotation: TSType$1;
|
|
1428
|
+
parent?: Node$1;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
declare type TSSignature = TSIndexSignature$1 | TSPropertySignature$1 | TSCallSignatureDeclaration$1 | TSConstructSignatureDeclaration$1 | TSMethodSignature$1;
|
|
1432
|
+
|
|
1433
|
+
declare interface TSStringKeyword extends Span$1 {
|
|
1434
|
+
type: "TSStringKeyword";
|
|
1435
|
+
parent?: Node$1;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
declare interface TSSymbolKeyword extends Span$1 {
|
|
1439
|
+
type: "TSSymbolKeyword";
|
|
1440
|
+
parent?: Node$1;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
declare interface TSTemplateLiteralType$1 extends Span$1 {
|
|
1444
|
+
type: "TSTemplateLiteralType";
|
|
1445
|
+
quasis: Array<TemplateElement$1>;
|
|
1446
|
+
types: Array<TSType$1>;
|
|
1447
|
+
parent?: Node$1;
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
declare interface TSThisParameter extends Span$1 {
|
|
1451
|
+
type: "Identifier";
|
|
1452
|
+
decorators: [];
|
|
1453
|
+
name: "this";
|
|
1454
|
+
optional: false;
|
|
1455
|
+
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
1456
|
+
parent?: Node$1;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
declare interface TSThisType extends Span$1 {
|
|
1460
|
+
type: "TSThisType";
|
|
1461
|
+
parent?: Node$1;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
declare type TSTupleElement = TSOptionalType$1 | TSRestType$1 | TSType$1;
|
|
1465
|
+
|
|
1466
|
+
declare interface TSTupleType$1 extends Span$1 {
|
|
1467
|
+
type: "TSTupleType";
|
|
1468
|
+
elementTypes: Array<TSTupleElement>;
|
|
1469
|
+
parent?: Node$1;
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
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;
|
|
1473
|
+
|
|
1474
|
+
declare interface TSTypeAliasDeclaration$1 extends Span$1 {
|
|
1475
|
+
type: "TSTypeAliasDeclaration";
|
|
1476
|
+
id: BindingIdentifier$1;
|
|
1477
|
+
typeParameters: TSTypeParameterDeclaration$1 | null;
|
|
1478
|
+
typeAnnotation: TSType$1;
|
|
1479
|
+
declare: boolean;
|
|
1480
|
+
parent?: Node$1;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
declare interface TSTypeAnnotation$1 extends Span$1 {
|
|
1484
|
+
type: "TSTypeAnnotation";
|
|
1485
|
+
typeAnnotation: TSType$1;
|
|
1486
|
+
parent?: Node$1;
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
declare interface TSTypeAssertion$1 extends Span$1 {
|
|
1490
|
+
type: "TSTypeAssertion";
|
|
1491
|
+
typeAnnotation: TSType$1;
|
|
1492
|
+
expression: Expression$1;
|
|
1493
|
+
parent?: Node$1;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
declare interface TSTypeLiteral extends Span$1 {
|
|
1497
|
+
type: "TSTypeLiteral";
|
|
1498
|
+
members: Array<TSSignature>;
|
|
1499
|
+
parent?: Node$1;
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
declare type TSTypeName = IdentifierReference$1 | TSQualifiedName$1 | ThisExpression$1;
|
|
1503
|
+
|
|
1504
|
+
declare interface TSTypeOperator$1 extends Span$1 {
|
|
1505
|
+
type: "TSTypeOperator";
|
|
1506
|
+
operator: TSTypeOperatorOperator;
|
|
1507
|
+
typeAnnotation: TSType$1;
|
|
1508
|
+
parent?: Node$1;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
declare type TSTypeOperatorOperator = "keyof" | "unique" | "readonly";
|
|
1512
|
+
|
|
1513
|
+
declare interface TSTypeParameter extends Span$1 {
|
|
1514
|
+
type: "TSTypeParameter";
|
|
1515
|
+
name: BindingIdentifier$1;
|
|
1516
|
+
constraint: TSType$1 | null;
|
|
1517
|
+
default: TSType$1 | null;
|
|
1518
|
+
in: boolean;
|
|
1519
|
+
out: boolean;
|
|
1520
|
+
const: boolean;
|
|
1521
|
+
parent?: Node$1;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
declare interface TSTypeParameterDeclaration$1 extends Span$1 {
|
|
1525
|
+
type: "TSTypeParameterDeclaration";
|
|
1526
|
+
params: Array<TSTypeParameter>;
|
|
1527
|
+
parent?: Node$1;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
declare interface TSTypeParameterInstantiation$1 extends Span$1 {
|
|
1531
|
+
type: "TSTypeParameterInstantiation";
|
|
1532
|
+
params: Array<TSType$1>;
|
|
1533
|
+
parent?: Node$1;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
declare interface TSTypePredicate$1 extends Span$1 {
|
|
1537
|
+
type: "TSTypePredicate";
|
|
1538
|
+
parameterName: TSTypePredicateName;
|
|
1539
|
+
asserts: boolean;
|
|
1540
|
+
typeAnnotation: TSTypeAnnotation$1 | null;
|
|
1541
|
+
parent?: Node$1;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
declare type TSTypePredicateName = IdentifierName$1 | TSThisType;
|
|
1545
|
+
|
|
1546
|
+
declare interface TSTypeQuery$1 extends Span$1 {
|
|
1547
|
+
type: "TSTypeQuery";
|
|
1548
|
+
exprName: TSTypeQueryExprName;
|
|
1549
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
1550
|
+
parent?: Node$1;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
declare type TSTypeQueryExprName = TSImportType$1 | TSTypeName;
|
|
1554
|
+
|
|
1555
|
+
declare interface TSTypeReference$1 extends Span$1 {
|
|
1556
|
+
type: "TSTypeReference";
|
|
1557
|
+
typeName: TSTypeName;
|
|
1558
|
+
typeArguments: TSTypeParameterInstantiation$1 | null;
|
|
1559
|
+
parent?: Node$1;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
declare interface TSUndefinedKeyword extends Span$1 {
|
|
1563
|
+
type: "TSUndefinedKeyword";
|
|
1564
|
+
parent?: Node$1;
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
declare interface TSUnionType$1 extends Span$1 {
|
|
1568
|
+
type: "TSUnionType";
|
|
1569
|
+
types: Array<TSType$1>;
|
|
1570
|
+
parent?: Node$1;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
declare interface TSUnknownKeyword extends Span$1 {
|
|
1574
|
+
type: "TSUnknownKeyword";
|
|
1575
|
+
parent?: Node$1;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
declare interface TSVoidKeyword extends Span$1 {
|
|
1579
|
+
type: "TSVoidKeyword";
|
|
1580
|
+
parent?: Node$1;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
declare interface UnaryExpression$1 extends Span$1 {
|
|
1584
|
+
type: "UnaryExpression";
|
|
1585
|
+
operator: UnaryOperator;
|
|
1586
|
+
argument: Expression$1;
|
|
1587
|
+
prefix: true;
|
|
1588
|
+
parent?: Node$1;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
declare type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
|
|
1592
|
+
|
|
1593
|
+
declare interface UpdateExpression$1 extends Span$1 {
|
|
1594
|
+
type: "UpdateExpression";
|
|
1595
|
+
operator: UpdateOperator;
|
|
1596
|
+
prefix: boolean;
|
|
1597
|
+
argument: SimpleAssignmentTarget$1;
|
|
1598
|
+
parent?: Node$1;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
declare type UpdateOperator = "++" | "--";
|
|
1602
|
+
|
|
1603
|
+
declare interface V8IntrinsicExpression extends Span$1 {
|
|
1604
|
+
type: "V8IntrinsicExpression";
|
|
1605
|
+
name: IdentifierName$1;
|
|
1606
|
+
arguments: Array<Argument$1>;
|
|
1607
|
+
parent?: Node$1;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
declare interface VariableDeclaration$1 extends Span$1 {
|
|
1611
|
+
type: "VariableDeclaration";
|
|
1612
|
+
kind: VariableDeclarationKind;
|
|
1613
|
+
declarations: Array<VariableDeclarator$1>;
|
|
1614
|
+
declare?: boolean;
|
|
1615
|
+
parent?: Node$1;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
declare type VariableDeclarationKind = "var" | "let" | "const" | "using" | "await using";
|
|
1619
|
+
|
|
1620
|
+
declare interface VariableDeclarator$1 extends Span$1 {
|
|
1621
|
+
type: "VariableDeclarator";
|
|
1622
|
+
id: BindingPattern$1;
|
|
1623
|
+
init: Expression$1 | null;
|
|
1624
|
+
definite?: boolean;
|
|
1625
|
+
parent?: Node$1;
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
declare interface WhileStatement$1 extends Span$1 {
|
|
1629
|
+
type: "WhileStatement";
|
|
1630
|
+
test: Expression$1;
|
|
1631
|
+
body: Statement$1;
|
|
1632
|
+
parent?: Node$1;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
declare interface WithStatement$1 extends Span$1 {
|
|
1636
|
+
type: "WithStatement";
|
|
1637
|
+
object: Expression$1;
|
|
1638
|
+
body: Statement$1;
|
|
1639
|
+
parent?: Node$1;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
export declare interface WorkerPluginDescriptor<K extends WorkerPluginKind = WorkerPluginKind> {
|
|
1643
|
+
readonly kind: K;
|
|
1644
|
+
readonly name: string;
|
|
1645
|
+
readonly workerEntry: string;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
export declare const WorkerPluginKind: S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>;
|
|
1649
|
+
|
|
1650
|
+
export declare type WorkerPluginKind = typeof WorkerPluginKind.Type;
|
|
1651
|
+
|
|
1652
|
+
export declare interface WorkerPluginSource<K extends WorkerPluginKind = WorkerPluginKind> {
|
|
1653
|
+
readonly kind: K;
|
|
1654
|
+
readonly name: string;
|
|
1655
|
+
readonly modulePath: string;
|
|
1656
|
+
readonly workerEntry: string;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
export declare type WorkerPluginSpawn = typeof WorkerPluginSpawnSchema.Type;
|
|
1660
|
+
|
|
1661
|
+
export declare const WorkerPluginSpawnSchema: S.Struct<{
|
|
1662
|
+
readonly kind: S.Literals<readonly ["TestRunner", "Checker", "Reporter"]>;
|
|
1663
|
+
readonly entrypoint: S.String;
|
|
1664
|
+
}>;
|
|
1665
|
+
|
|
1666
|
+
declare interface YieldExpression$1 extends Span$1 {
|
|
1667
|
+
type: "YieldExpression";
|
|
1668
|
+
delegate: boolean;
|
|
1669
|
+
argument: Expression$1 | null;
|
|
1670
|
+
parent?: Node$1;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
export { }
|