@typescript-eslint/types 8.46.0 → 8.46.1-alpha.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/dist/generated/ast-spec.d.ts +13 -6
- package/package.json +1 -1
|
@@ -274,12 +274,7 @@ export declare interface BigIntLiteral extends LiteralBase {
|
|
|
274
274
|
bigint: string;
|
|
275
275
|
value: bigint | null;
|
|
276
276
|
}
|
|
277
|
-
export declare
|
|
278
|
-
type: AST_NODE_TYPES.BinaryExpression;
|
|
279
|
-
left: Expression | PrivateIdentifier;
|
|
280
|
-
operator: ValueOf<BinaryOperatorToText>;
|
|
281
|
-
right: Expression;
|
|
282
|
-
}
|
|
277
|
+
export declare type BinaryExpression = PrivateInExpression | SymmetricBinaryExpression;
|
|
283
278
|
export declare interface BinaryOperatorToText {
|
|
284
279
|
[SyntaxKind.AmpersandAmpersandToken]: '&&';
|
|
285
280
|
[SyntaxKind.AmpersandToken]: '&';
|
|
@@ -1144,6 +1139,12 @@ export declare interface PrivateIdentifier extends BaseNode {
|
|
|
1144
1139
|
export declare interface PrivateIdentifierToken extends BaseToken {
|
|
1145
1140
|
type: AST_TOKEN_TYPES.PrivateIdentifier;
|
|
1146
1141
|
}
|
|
1142
|
+
export declare interface PrivateInExpression extends BaseNode {
|
|
1143
|
+
type: AST_NODE_TYPES.BinaryExpression;
|
|
1144
|
+
left: PrivateIdentifier;
|
|
1145
|
+
operator: 'in';
|
|
1146
|
+
right: Expression;
|
|
1147
|
+
}
|
|
1147
1148
|
export declare interface Program extends NodeOrTokenData {
|
|
1148
1149
|
type: AST_NODE_TYPES.Program;
|
|
1149
1150
|
body: ProgramStatement[];
|
|
@@ -1328,6 +1329,12 @@ export declare interface SwitchStatement extends BaseNode {
|
|
|
1328
1329
|
cases: SwitchCase[];
|
|
1329
1330
|
discriminant: Expression;
|
|
1330
1331
|
}
|
|
1332
|
+
export declare interface SymmetricBinaryExpression extends BaseNode {
|
|
1333
|
+
type: AST_NODE_TYPES.BinaryExpression;
|
|
1334
|
+
left: Expression;
|
|
1335
|
+
operator: ValueOf<BinaryOperatorToText>;
|
|
1336
|
+
right: Expression;
|
|
1337
|
+
}
|
|
1331
1338
|
export declare interface TaggedTemplateExpression extends BaseNode {
|
|
1332
1339
|
type: AST_NODE_TYPES.TaggedTemplateExpression;
|
|
1333
1340
|
quasi: TemplateLiteral;
|