-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Typescript support #9
Comments
I created a typing myself. If you guys are interested you can get it here: https://gist.github.com/mattiaz9/3e31dbe50f573954d0f52cfcc6b220bf Bear in mind that there may be errors or missing types.. I couldn't try the requests because of this #8 |
Thank you so much @mattiaz9! I'll look forward to use it as soon as I can to give you feedback about any issue I can find but I'm afraid it won't be anytime soon bc lately I've been very busy at work. Anyway at first glance it looks fine, so thank you again |
How to use? |
put the file Make sure you include the {
"include": [
"typings"
]
} |
@jorgerosal Can you please include the .d.ts file provided by @mattiaz9 in the project? It is pretty straightforward and would benefit immensely the use of the package. |
AmazonSearchItemsResponse seems to be wrong export type AmazonSearchItemsResponse = {
Errors?: AmazonResponseError[];
- VariationsResult: {
+ SearchResult: {
- Items: AmazonVariation[];
+ Items: AmazonItem[];
};
}; |
Hi, I'm trying to use your package with typescript but I could not find anywhere something like
@types/amazon-paapi
.How should I find those ans install via
npm
?The text was updated successfully, but these errors were encountered: