SamuelScheit / puppeteer-stream

A Library for puppeteer to retrieve audio and/or video streams
MIT License
357 stars 114 forks source link

Fix typing of the launch function when using puppeteer library as first argument #122

Closed noeRls closed 1 year ago

noeRls commented 1 year ago

Typing is currently incorrect with an &. We expect either the puppeteer library OR the launch arguments, so we should use |

Right now the "puppeteer-extra" example doesn't compile if we are using typescript. This PR fix this issue.