The documentation(Image1) states that the **requestResource** method returns the promise but in reality it doesn't(Image2) ### Image1  ### Image2 
Activity
panva commentedon Apr 16, 2022
It sure does return a Promise, it's an async function.
coffe0wl commentedon Apr 16, 2022
Yes, but not in the index.d.ts file

panva commentedon Apr 16, 2022
That is what I checked.
Would you like to submit a PR to fix the types?
fix(typescript): requestResource returns a Promise (#546)