@oxc-project/types 0.67.0 → 0.68.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 +4 -2
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -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>;
|