Skip to content

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

Closed
@steve02081504

Description

@steve02081504

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions