The following snippet compiles without errors in v3, but throws errors (see below) with v4. What's the expected argument type for ErrorHandler in v4? Do we explicitly export this type / interface?
This pattern (creating crawler options as explicitly typed functions) is used e.g. in https://github.com/apify/actor-scraper
First observed here.
The following snippet compiles without errors in v3, but throws errors (see below) with v4. What's the expected argument type for
ErrorHandlerin v4? Do we explicitly export this type / interface?This pattern (creating crawler options as explicitly typed functions) is used e.g. in https://github.com/apify/actor-scraper
First observed here.