jshemas / openGraphScraper

Node.js scraper service for Open Graph Info and More!
MIT License
643 stars 102 forks source link

v5 does not have right types #155

Closed iSuslov closed 1 year ago

iSuslov commented 1 year ago
const { result, error } = await ogs({ url: link });

In version 5, result has type object. @types/open-graph-scraper latest version is 4.8.2

jshemas commented 1 year ago

Hello,

I've added the proper types in open-graph-scraper@5.0.3.

jshemas commented 1 year ago

Closing this for now. Let me know if you have any more issues.