RequestOptions
type does not include optional host
parameter
#1447
Labels
RequestOptions
type does not include optional host
parameter
#1447
Describe the bug
API request methods accept an optional
host
parameter in order to direct requests to a custom host, like:stripe.files.create({...}, {host: "…"})
This is not included in the
RequestOptions
type.To Reproduce
1: attempt to call a Stripe API method with an optional
host
parameter.2!: Compilation fails due to lack of
host
paramter in theRequestOptions
type.Expected behavior
I would expect compilation to succeed with the
host
parameter.Code snippets
The text was updated successfully, but these errors were encountered: