WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 891b3d5

Browse files
committed
AG-16140 Fix api docs build for axes dict
1 parent 90783ac commit 891b3d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/ag-charts-generate-code-reference-files/src/doc-interfaces/patch-doc-interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function getTypeUnion(typeRef: NodeTypes | undefined): string[] {
5252
}
5353

5454
function readMemberName(member: MemberNode): string | undefined {
55-
if (typeof member.type === 'object' && member.type.kind === 'array') {
55+
if (typeof member.type === 'object' && (member.type.kind === 'array' || member.type.kind === 'typeRef')) {
5656
if (typeof member.type.type === 'string') {
5757
return member.type.type;
5858
} else if (member.type.type.kind === 'typeRef') {

0 commit comments

Comments
 (0)