Closed P4sca1 closed 1 year ago
I think OpenGraphScraperOptions.fetchOptions should be of type RequestInit instead of Request. The type Request requires every property to be set.
OpenGraphScraperOptions.fetchOptions
RequestInit
Request
Hello. Good catch, should be fixed in open-graph-scraper@6.0.1
open-graph-scraper@6.0.1
I think
OpenGraphScraperOptions.fetchOptions
should be of typeRequestInit
instead ofRequest
. The typeRequest
requires every property to be set.