@@ -18,13 +18,13 @@ export interface IApiTypeAliasOptions extends
1818 IApiReleaseTagMixinOptions ,
1919 IApiDeclaredItemOptions ,
2020 IApiTypeParameterListMixinOptions {
21- aliasTypeTokenRange : IExcerptTokenRange ;
21+ typeTokenRange : IExcerptTokenRange ;
2222}
2323
2424export interface IApiTypeAliasJson extends
2525 IApiDeclaredItemJson ,
2626 IApiTypeParameterListMixinJson {
27- aliasTypeTokenRange : IExcerptTokenRange ;
27+ typeTokenRange : IExcerptTokenRange ;
2828}
2929
3030/**
@@ -65,15 +65,15 @@ export class ApiTypeAlias extends ApiTypeParameterListMixin(ApiNameMixin(ApiRele
6565 * export type Boxed<T> = T extends any[] ? BoxedArray<T[number]> : BoxedValue<T>;
6666 * ```
6767 */
68- public readonly aliasTypeExcerpt : Excerpt ;
68+ public readonly typeExcerpt : Excerpt ;
6969
7070 /** @override */
7171 public static onDeserializeInto ( options : Partial < IApiTypeAliasOptions > , jsonObject : IApiTypeAliasJson ) : void {
7272 super . onDeserializeInto ( options , jsonObject ) ;
7373
7474 // NOTE: This did not exist in the initial release, so we apply a default
7575 // in the event it doesn't exist in 'jsonObject'.
76- options . aliasTypeTokenRange = jsonObject . aliasTypeTokenRange || { startIndex : 0 , endIndex : 0 } ;
76+ options . typeTokenRange = jsonObject . typeTokenRange || { startIndex : 0 , endIndex : 0 } ;
7777 }
7878
7979 public static getCanonicalReference ( name : string ) : string {
@@ -83,7 +83,7 @@ export class ApiTypeAlias extends ApiTypeParameterListMixin(ApiNameMixin(ApiRele
8383 public constructor ( options : IApiTypeAliasOptions ) {
8484 super ( options ) ;
8585
86- this . aliasTypeExcerpt = this . buildExcerpt ( options . aliasTypeTokenRange ) ;
86+ this . typeExcerpt = this . buildExcerpt ( options . typeTokenRange ) ;
8787 }
8888
8989 /** @override */
@@ -100,6 +100,6 @@ export class ApiTypeAlias extends ApiTypeParameterListMixin(ApiNameMixin(ApiRele
100100 public serializeInto ( jsonObject : Partial < IApiTypeAliasJson > ) : void {
101101 super . serializeInto ( jsonObject ) ;
102102
103- jsonObject . aliasTypeTokenRange = this . aliasTypeExcerpt . tokenRange ;
103+ jsonObject . typeTokenRange = this . typeExcerpt . tokenRange ;
104104 }
105105}
0 commit comments