File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ function handleMethod(child: Node): Partial<Method> {
239239 const name = string ( child . values [ 0 ] ) ;
240240
241241 let typeNode : Node | undefined ;
242- const params : { name : string ; type ?: string , overrideType ?:string } [ ] = [ ] ;
242+ const params : { name : string ; type ?: string ; overrideType ?: string } [ ] = [ ] ;
243243
244244 for ( const c of child . children ) {
245245 switch ( c . name ) {
@@ -254,7 +254,11 @@ function handleMethod(child: Node): Partial<Method> {
254254 params . push ( {
255255 name : string ( c . values [ 0 ] ) ,
256256 ...optionalMember ( "type" , "string" , c . properties ?. type ) ,
257- ...optionalMember ( "overrideType" , "string" , c . properties ?. overrideType ) ,
257+ ...optionalMember (
258+ "overrideType" ,
259+ "string" ,
260+ c . properties ?. overrideType ,
261+ ) ,
258262 } ) ;
259263 break ;
260264
You can’t perform that action at this time.
0 commit comments