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

fix(search): return SearchResult type #48

Merged
merged 3 commits into from
Feb 23, 2023

Conversation

privatenumber
Copy link
Contributor

@privatenumber privatenumber commented Feb 23, 2023

Currently, it returns Promise<unknown>

@fraxken
Copy link
Member

fraxken commented Feb 23, 2023

httpie.get take a Generic

const { data } = await httpie.get<SearchResult>

@privatenumber
Copy link
Contributor Author

Updated, thanks

@fraxken fraxken merged commit 9f7c074 into NodeSecure:main Feb 23, 2023
@privatenumber privatenumber deleted the patch-2 branch February 23, 2023 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants