Skip to content

Commit ed5cf74

Browse files
committed
Make linter happy
1 parent 44f9ce3 commit ed5cf74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typescript-generator/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function serializeAdditionalPropertiesType (type: M.Interface): string {
288288

289289
const parent = model.types.find(t => t.name.name === type.inherits?.type.name)
290290
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>()
292292
for (let i = 0; i < parent.generics.length; i++) {
293293
map.set(parent.generics[i], type.inherits.generics[i])
294294
}
@@ -338,7 +338,7 @@ function serializeAdditionalPropertiesType (type: M.Interface): string {
338338
}
339339
}
340340

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 {
342342
if (value.kind !== 'instance_of') {
343343
return value
344344
}

0 commit comments

Comments
 (0)