Skip to content

Commit

Permalink
fix: add overload index to methods
Browse files Browse the repository at this point in the history
  • Loading branch information
brynpttrsn committed Nov 28, 2023
1 parent d0aa8d2 commit abc85e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/website/src/components/documentation/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ export function serializeMembers(clazz: ApiItemContainerMixin): TableOfContentsS
return {
kind: member.kind as 'Method' | 'MethodSignature',
name: member.displayName,
overloadIndex: (member as ApiMethod | ApiMethodSignature).overloadIndex,
};
} else if (member.kind === 'Event') {
return {
Expand All @@ -156,7 +157,6 @@ export function serializeMembers(clazz: ApiItemContainerMixin): TableOfContentsS
return {
kind: member.kind as 'Property' | 'PropertySignature',
name: member.displayName,
overloadIndex: (member as ApiMethod | ApiMethodSignature).overloadIndex,
};
}
});
Expand Down

0 comments on commit abc85e8

Please sign in to comment.