amazon-paapi
amazon-paapi copied to clipboard
Typescript support
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?
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
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
How to use?
How to use?
put the file amazon-paapi.d.ts inside your typings folder in your project.
Make sure you include the typings folder in the tsconfig.json:
{
"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.