@oxc-project/types 0.67.0 → 0.68.1
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 +5 -3
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -845,7 +845,7 @@ export interface StringLiteral extends Span {
|
|
|
845
845
|
|
|
846
846
|
export interface BigIntLiteral extends Span {
|
|
847
847
|
type: 'Literal';
|
|
848
|
-
value:
|
|
848
|
+
value: bigint;
|
|
849
849
|
raw: string | null;
|
|
850
850
|
bigint: string;
|
|
851
851
|
}
|
|
@@ -1375,12 +1375,14 @@ export interface TSMappedType extends Span {
|
|
|
1375
1375
|
type: 'TSMappedType';
|
|
1376
1376
|
nameType: TSType | null;
|
|
1377
1377
|
typeAnnotation: TSType | null;
|
|
1378
|
-
optional:
|
|
1379
|
-
readonly:
|
|
1378
|
+
optional: TSMappedTypeModifierOperator | null;
|
|
1379
|
+
readonly: TSMappedTypeModifierOperator | null;
|
|
1380
1380
|
key: TSTypeParameter['name'];
|
|
1381
1381
|
constraint: TSTypeParameter['constraint'];
|
|
1382
1382
|
}
|
|
1383
1383
|
|
|
1384
|
+
export type TSMappedTypeModifierOperator = true | '+' | '-';
|
|
1385
|
+
|
|
1384
1386
|
export interface TSTemplateLiteralType extends Span {
|
|
1385
1387
|
type: 'TSTemplateLiteralType';
|
|
1386
1388
|
quasis: Array<TemplateElement>;
|