Closed milad2golnia closed 1 year ago
This repository is no longer maintained, browser pool is now part of crawlee, and yes, it is full TS rewrite:
https://github.com/apify/crawlee/tree/master/packages/browser-pool
Actually even browser pool v2 was full TS project. There are no @types
packages - those are only for non-TS projects, the types were always included in the main package.
The problem was that when I included browser-pool
:
import { BrowserPool, PlaywrightPlugin } from 'browser-pool';
It gave me following error:
Could not find a declaration file for module 'browser-pool'. '[...]/node_modules/browser-pool/dist/index.mjs' implicitly has an 'any' type.
Try `npm i --save-dev @types/browser-pool` if it exists or add a new declaration (.d.ts) file containing `declare module 'browser-pool';
And this is why I tried to install @types
.
Thank you for introducing crawlee
, It's working fine.
Suggestion: If this repository is not longer maintained, I suggest to mark it as deprecated in both github and npm and also give a link to crawlee
in deprecation message.
Thanks for your great packages and team <3
Do you have any support for typescript?