hermes-estree 0.29.0 → 0.30.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.
|
@@ -572,6 +572,12 @@ interface DeclareOpaqueType_With_typeParameters extends DeclareOpaqueType {
|
|
|
572
572
|
interface DeclareOpaqueType_With_impltype extends DeclareOpaqueType {
|
|
573
573
|
+impltype: $NonMaybeType<DeclareOpaqueType['impltype']>;
|
|
574
574
|
}
|
|
575
|
+
interface DeclareOpaqueType_With_lowerBound extends DeclareOpaqueType {
|
|
576
|
+
+lowerBound: $NonMaybeType<DeclareOpaqueType['lowerBound']>;
|
|
577
|
+
}
|
|
578
|
+
interface DeclareOpaqueType_With_upperBound extends DeclareOpaqueType {
|
|
579
|
+
+upperBound: $NonMaybeType<DeclareOpaqueType['upperBound']>;
|
|
580
|
+
}
|
|
575
581
|
interface DeclareOpaqueType_With_supertype extends DeclareOpaqueType {
|
|
576
582
|
+supertype: $NonMaybeType<DeclareOpaqueType['supertype']>;
|
|
577
583
|
}
|
|
@@ -1297,6 +1303,12 @@ interface OpaqueType_With_typeParameters extends OpaqueType {
|
|
|
1297
1303
|
interface OpaqueType_With_impltype extends OpaqueType {
|
|
1298
1304
|
+impltype: $NonMaybeType<OpaqueType['impltype']>;
|
|
1299
1305
|
}
|
|
1306
|
+
interface OpaqueType_With_lowerBound extends OpaqueType {
|
|
1307
|
+
+lowerBound: $NonMaybeType<OpaqueType['lowerBound']>;
|
|
1308
|
+
}
|
|
1309
|
+
interface OpaqueType_With_upperBound extends OpaqueType {
|
|
1310
|
+
+upperBound: $NonMaybeType<OpaqueType['upperBound']>;
|
|
1311
|
+
}
|
|
1300
1312
|
interface OpaqueType_With_supertype extends OpaqueType {
|
|
1301
1313
|
+supertype: $NonMaybeType<OpaqueType['supertype']>;
|
|
1302
1314
|
}
|
|
@@ -1966,6 +1978,12 @@ export type ESQueryNodeSelectorsWithoutFallback = {
|
|
|
1966
1978
|
+'DeclareOpaqueType[impltype]'?: (
|
|
1967
1979
|
node: DeclareOpaqueType_With_impltype,
|
|
1968
1980
|
) => void,
|
|
1981
|
+
+'DeclareOpaqueType[lowerBound]'?: (
|
|
1982
|
+
node: DeclareOpaqueType_With_lowerBound,
|
|
1983
|
+
) => void,
|
|
1984
|
+
+'DeclareOpaqueType[upperBound]'?: (
|
|
1985
|
+
node: DeclareOpaqueType_With_upperBound,
|
|
1986
|
+
) => void,
|
|
1969
1987
|
+'DeclareOpaqueType[supertype]'?: (
|
|
1970
1988
|
node: DeclareOpaqueType_With_supertype,
|
|
1971
1989
|
) => void,
|
|
@@ -2550,6 +2568,8 @@ export type ESQueryNodeSelectorsWithoutFallback = {
|
|
|
2550
2568
|
node: OpaqueType_With_typeParameters,
|
|
2551
2569
|
) => void,
|
|
2552
2570
|
+'OpaqueType[impltype]'?: (node: OpaqueType_With_impltype) => void,
|
|
2571
|
+
+'OpaqueType[lowerBound]'?: (node: OpaqueType_With_lowerBound) => void,
|
|
2572
|
+
+'OpaqueType[upperBound]'?: (node: OpaqueType_With_upperBound) => void,
|
|
2553
2573
|
+'OpaqueType[supertype]'?: (node: OpaqueType_With_supertype) => void,
|
|
2554
2574
|
+OptionalIndexedAccessType?: (node: OptionalIndexedAccessType) => void,
|
|
2555
2575
|
+'OptionalIndexedAccessType[objectType]'?: (
|
|
@@ -3106,6 +3126,12 @@ export type ESQueryNodeSelectorsWithoutFallback = {
|
|
|
3106
3126
|
+'DeclareOpaqueType[impltype]:exit'?: (
|
|
3107
3127
|
node: DeclareOpaqueType_With_impltype,
|
|
3108
3128
|
) => void,
|
|
3129
|
+
+'DeclareOpaqueType[lowerBound]:exit'?: (
|
|
3130
|
+
node: DeclareOpaqueType_With_lowerBound,
|
|
3131
|
+
) => void,
|
|
3132
|
+
+'DeclareOpaqueType[upperBound]:exit'?: (
|
|
3133
|
+
node: DeclareOpaqueType_With_upperBound,
|
|
3134
|
+
) => void,
|
|
3109
3135
|
+'DeclareOpaqueType[supertype]:exit'?: (
|
|
3110
3136
|
node: DeclareOpaqueType_With_supertype,
|
|
3111
3137
|
) => void,
|
|
@@ -3760,6 +3786,8 @@ export type ESQueryNodeSelectorsWithoutFallback = {
|
|
|
3760
3786
|
node: OpaqueType_With_typeParameters,
|
|
3761
3787
|
) => void,
|
|
3762
3788
|
+'OpaqueType[impltype]:exit'?: (node: OpaqueType_With_impltype) => void,
|
|
3789
|
+
+'OpaqueType[lowerBound]:exit'?: (node: OpaqueType_With_lowerBound) => void,
|
|
3790
|
+
+'OpaqueType[upperBound]:exit'?: (node: OpaqueType_With_upperBound) => void,
|
|
3763
3791
|
+'OpaqueType[supertype]:exit'?: (node: OpaqueType_With_supertype) => void,
|
|
3764
3792
|
+'OptionalIndexedAccessType:exit'?: (node: OptionalIndexedAccessType) => void,
|
|
3765
3793
|
+'OptionalIndexedAccessType[objectType]:exit'?: (
|
package/dist/types.js.flow
CHANGED
|
@@ -1208,6 +1208,8 @@ export interface TypeAlias extends BaseTypeAlias {
|
|
|
1208
1208
|
interface BaseOpaqueType extends BaseNode {
|
|
1209
1209
|
+id: Identifier;
|
|
1210
1210
|
+supertype: TypeAnnotationType | null;
|
|
1211
|
+
+lowerBound: TypeAnnotationType | null;
|
|
1212
|
+
+upperBound: TypeAnnotationType | null;
|
|
1211
1213
|
+typeParameters: TypeParameterDeclaration | null;
|
|
1212
1214
|
}
|
|
1213
1215
|
export interface OpaqueType extends BaseOpaqueType {
|