We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b46aac commit 7da2ea6Copy full SHA for 7da2ea6
apps/api-extractor-model/src/model/ApiTypeAlias.ts
@@ -74,9 +74,7 @@ export class ApiTypeAlias extends ApiTypeParameterListMixin(ApiNameMixin(ApiRele
74
75
super.onDeserializeInto(options, context, jsonObject);
76
77
- // NOTE: This did not exist in the initial release, so we apply a default
78
- // in the event it doesn't exist in 'jsonObject'.
79
- options.typeTokenRange = jsonObject.typeTokenRange || { startIndex: 0, endIndex: 0 };
+ options.typeTokenRange = jsonObject.typeTokenRange;
80
}
81
82
public static getCanonicalReference(name: string): string {
0 commit comments