@oxc-project/types 0.61.2 → 0.62.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/package.json +1 -1
- package/types.d.ts +9 -5
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1173,7 +1173,7 @@ export interface TSClassImplements extends Span {
|
|
|
1173
1173
|
export interface TSInterfaceDeclaration extends Span {
|
|
1174
1174
|
type: 'TSInterfaceDeclaration';
|
|
1175
1175
|
id: BindingIdentifier;
|
|
1176
|
-
extends: Array<TSInterfaceHeritage
|
|
1176
|
+
extends: Array<TSInterfaceHeritage>;
|
|
1177
1177
|
typeParameters: TSTypeParameterDeclaration | null;
|
|
1178
1178
|
body: TSInterfaceBody;
|
|
1179
1179
|
declare: boolean;
|
|
@@ -1191,6 +1191,8 @@ export interface TSPropertySignature extends Span {
|
|
|
1191
1191
|
readonly: boolean;
|
|
1192
1192
|
key: PropertyKey;
|
|
1193
1193
|
typeAnnotation: TSTypeAnnotation | null;
|
|
1194
|
+
accessibility: null;
|
|
1195
|
+
static: false;
|
|
1194
1196
|
}
|
|
1195
1197
|
|
|
1196
1198
|
export type TSSignature =
|
|
@@ -1206,7 +1208,7 @@ export interface TSIndexSignature extends Span {
|
|
|
1206
1208
|
typeAnnotation: TSTypeAnnotation;
|
|
1207
1209
|
readonly: boolean;
|
|
1208
1210
|
static: boolean;
|
|
1209
|
-
accessibility
|
|
1211
|
+
accessibility: null;
|
|
1210
1212
|
}
|
|
1211
1213
|
|
|
1212
1214
|
export interface TSCallSignatureDeclaration extends Span {
|
|
@@ -1225,9 +1227,11 @@ export interface TSMethodSignature extends Span {
|
|
|
1225
1227
|
optional: boolean;
|
|
1226
1228
|
kind: TSMethodSignatureKind;
|
|
1227
1229
|
typeParameters: TSTypeParameterDeclaration | null;
|
|
1228
|
-
thisParam: TSThisParameter | null;
|
|
1229
1230
|
params: ParamPattern[];
|
|
1230
1231
|
returnType: TSTypeAnnotation | null;
|
|
1232
|
+
accessibility: null;
|
|
1233
|
+
readonly: false;
|
|
1234
|
+
static: false;
|
|
1231
1235
|
}
|
|
1232
1236
|
|
|
1233
1237
|
export interface TSConstructSignatureDeclaration extends Span {
|
|
@@ -1241,8 +1245,8 @@ export interface TSIndexSignatureName extends Span {
|
|
|
1241
1245
|
type: 'Identifier';
|
|
1242
1246
|
name: string;
|
|
1243
1247
|
typeAnnotation: TSTypeAnnotation;
|
|
1244
|
-
decorators
|
|
1245
|
-
optional
|
|
1248
|
+
decorators: [];
|
|
1249
|
+
optional: false;
|
|
1246
1250
|
}
|
|
1247
1251
|
|
|
1248
1252
|
export interface TSInterfaceHeritage extends Span {
|