@@ -103,10 +103,10 @@ export default class Cat {
103103 return await this . transport . request ( { path, method, querystring, body } , options )
104104 }
105105
106- async componentTemplates ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptionsWithOutMeta ) : Promise < T . TODO >
107- async componentTemplates ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptionsWithMeta ) : Promise < TransportResult < T . TODO , unknown > >
108- async componentTemplates ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptions ) : Promise < T . TODO >
109- async componentTemplates ( this : That , params ?: T . TODO | TB . TODO , options ?: TransportRequestOptions ) : Promise < any > {
106+ async componentTemplates ( this : That , params ?: T . CatComponentTemplatesRequest | TB . CatComponentTemplatesRequest , options ?: TransportRequestOptionsWithOutMeta ) : Promise < T . CatComponentTemplatesResponse >
107+ async componentTemplates ( this : That , params ?: T . CatComponentTemplatesRequest | TB . CatComponentTemplatesRequest , options ?: TransportRequestOptionsWithMeta ) : Promise < TransportResult < T . CatComponentTemplatesResponse , unknown > >
108+ async componentTemplates ( this : That , params ?: T . CatComponentTemplatesRequest | TB . CatComponentTemplatesRequest , options ?: TransportRequestOptions ) : Promise < T . CatComponentTemplatesResponse >
109+ async componentTemplates ( this : That , params ?: T . CatComponentTemplatesRequest | TB . CatComponentTemplatesRequest , options ?: TransportRequestOptions ) : Promise < any > {
110110 const acceptedPath : string [ ] = [ 'name' ]
111111 const querystring : Record < string , any > = { }
112112 const body = undefined
@@ -116,6 +116,7 @@ export default class Cat {
116116 if ( acceptedPath . includes ( key ) ) {
117117 continue
118118 } else if ( key !== 'body' ) {
119+ // @ts -expect-error
119120 querystring [ key ] = params [ key ]
120121 }
121122 }
0 commit comments