Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example do not work #30

Open
germangioffre opened this issue Jul 22, 2022 · 1 comment
Open

Example do not work #30

germangioffre opened this issue Jul 22, 2022 · 1 comment

Comments

@germangioffre
Copy link

Captura de Pantalla 2022-07-22 a las 17 16 02
Captura de Pantalla 2022-07-22 a las 17 16 07

require do not work right. I can't solve it.

any ideas?

@schoettler
Copy link

schoettler commented Jul 26, 2022

It says to add a new type declaration; node-scrapy does not have an official TS declaration as of yet.

Try:

declare module 'node-scrapy' {
  export function extract(
    html: any,
    model: any,
    options?: any
  ): any;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants