Skip to content

Commit

Permalink
Fix bug where return types of functions were not being generated corr…
Browse files Browse the repository at this point in the history
…ectly
  • Loading branch information
leeyi45 committed Mar 20, 2024
1 parent af5343b commit e78495f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/src/build/docs/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const parsers = {
name: obj.name,
description,
params,
retType: typeToName(obj.type, 'void')
retType: typeToName(signature.type, 'void')
};
},
[td.ReflectionKind.Variable](obj) {
Expand Down

0 comments on commit e78495f

Please sign in to comment.