File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ function serializeAdditionalPropertiesType (type: M.Interface): string {
288
288
289
289
const parent = model . types . find ( t => t . name . name === type . inherits ?. type . name )
290
290
if ( parent != null && parent . kind === 'interface' && parent . generics != null && parent . generics . length === type . inherits ?. generics ?. length ) {
291
- const map = new Map < M . TypeName , M . ValueOf > ( ) ;
291
+ const map = new Map < M . TypeName , M . ValueOf > ( )
292
292
for ( let i = 0 ; i < parent . generics . length ; i ++ ) {
293
293
map . set ( parent . generics [ i ] , type . inherits . generics [ i ] )
294
294
}
@@ -338,7 +338,7 @@ function serializeAdditionalPropertiesType (type: M.Interface): string {
338
338
}
339
339
}
340
340
341
- function replaceGenerics ( value : M . ValueOf , map : Map < M . TypeName , M . ValueOf > ) : M . ValueOf {
341
+ function replaceGenerics ( value : M . ValueOf , map : Map < M . TypeName , M . ValueOf > ) : M . ValueOf {
342
342
if ( value . kind !== 'instance_of' ) {
343
343
return value
344
344
}
You can’t perform that action at this time.
0 commit comments