Skip to content

Commit 7da2ea6

Browse files
committed
Remove compatibility logic, since we'll start clean with this schema version
1 parent 9b46aac commit 7da2ea6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/api-extractor-model/src/model/ApiTypeAlias.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ export class ApiTypeAlias extends ApiTypeParameterListMixin(ApiNameMixin(ApiRele
7474

7575
super.onDeserializeInto(options, context, jsonObject);
7676

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 };
77+
options.typeTokenRange = jsonObject.typeTokenRange;
8078
}
8179

8280
public static getCanonicalReference(name: string): string {

0 commit comments

Comments
 (0)