Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Include type definition or more extensive docs for the response of client.search.query #406

Open
Open
Include type definition or more extensive docs for the response of client.search.query#406

Description

Feature Description
Unclear what the response format is of the search functions - it's typed to just return an object:
const searchResults = await client.search.query(encodedQuery);

type:
query(searchTerm: string): Promise;

Example Use Case
Provide an example or context where this feature would be beneficial.

Would be helpful to have a short code sample that shows the usage of searchResults in practice, or additional type information on the response syntax.

Additional Information
Any other details or ideas related to the feature.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions