Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When multiple indexablees, only the first indexable is displayed #2470

Closed
steve02081504 opened this issue Jan 2, 2024 · 2 comments
Closed
Labels
bug Functionality does not match expectation
Milestone

Comments

@steve02081504
Copy link
Contributor

Search terms

Indexable muti

Expected Behavior

https://github.com/ukatech/jsstp-lib/blob/2cb88bcf51053b4c6b16a8cdaa613932e5779c7d/dist/en/jsstp.d.ts#L485L505

/**
 * Matches event names to generate a simple invoker
 * @group Index reflections
 * @example
 * let data=await jsstp.OnTest(123,"abc");
 */
[key: `On${string}`]: simple_event_caller;
/**
 * Matches event names to generate a simple invoker
 * @group Index reflections
 * @example
 * let data=await jsstp.GetNames();
 */
[key: `Get${string}`]: simple_list_command_caller;
/**
 * Matches event names to generate a simple invoker
 * @group Index reflections
 * @example
 * let data=await jsstp.SetCookie("abc","def");
 */
[key: `Set${string}`]: simple_command_caller;

The document should show all 3 indexables.

Actual Behavior

https://ukatech.github.io/jsstp-lib/doc/EN/classes/jsstp_t.html
just first one

Steps to reproduce the bug

class cla {
[key: `1${string}`]: number;
[key: `2${string}`]: string;
}

maybe this

Environment

@steve02081504 steve02081504 added the bug Functionality does not match expectation label Jan 2, 2024
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jan 2, 2024

Hey, someone finally noticed, only took ~9 years!

@Gerrit0 Gerrit0 added this to the v0.26.0 milestone Jan 12, 2024
Gerrit0 added a commit that referenced this issue Mar 17, 2024
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Jun 16, 2024

Fixed with TypeDoc 0.26, which is releasing 2024/06/21

@Gerrit0 Gerrit0 closed this as completed Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

2 participants