@@ -116,18 +116,6 @@ export function ApiItemContainerMixin<TBaseClass extends IApiItemConstructor>(ba
116116 // that share a common ApiItemKind. Examples include overloaded constructors or index signatures.
117117 public [ _membersByKind ] : Map < string , ApiItem [ ] > | undefined ; // key is ApiItemKind
118118
119- /** @override */
120- public static onDeserializeInto ( options : Partial < IApiItemContainerMixinOptions > ,
121- context : DeserializerContext , jsonObject : IApiItemContainerJson ) : void {
122-
123- baseClass . onDeserializeInto ( options , context , jsonObject ) ;
124-
125- options . members = [ ] ;
126- for ( const memberObject of jsonObject . members ) {
127- options . members . push ( ApiItem . deserialize ( memberObject , context ) ) ;
128- }
129- }
130-
131119 // eslint-disable-next-line @typescript-eslint/no-explicit-any
132120 public constructor ( ...args : any [ ] ) {
133121 super ( ...args ) ;
@@ -143,6 +131,18 @@ export function ApiItemContainerMixin<TBaseClass extends IApiItemConstructor>(ba
143131 }
144132 }
145133
134+ /** @override */
135+ public static onDeserializeInto ( options : Partial < IApiItemContainerMixinOptions > ,
136+ context : DeserializerContext , jsonObject : IApiItemContainerJson ) : void {
137+
138+ baseClass . onDeserializeInto ( options , context , jsonObject ) ;
139+
140+ options . members = [ ] ;
141+ for ( const memberObject of jsonObject . members ) {
142+ options . members . push ( ApiItem . deserialize ( memberObject , context ) ) ;
143+ }
144+ }
145+
146146 public get members ( ) : ReadonlyArray < ApiItem > {
147147 if ( ! this [ _membersSorted ] ) {
148148 this [ _members ] . sort ( ( x , y ) => x . getSortKey ( ) . localeCompare ( y . getSortKey ( ) ) ) ;
0 commit comments