I am very confused by the firecrawl
I am very confused by the firecrawl types...
I am doing this:
const scrapeResponse = await app.scrapeUrl("https://firecrawl.dev", {
formats: ["markdown", "html"],
});
and I can see the scrapeResponse json with a result field, however this is not available in the types, so i get an error when i do scrapeResponse.result
I am a bit confused here...it's possible the library has these basic mistakes? or I am doing something wrong?
4 Replies
Which version of our Python SDK are you using?
this is nodejs
what is the official/most updated library? node or python
?

this is the type definition, but it's not picking it up:
interface ScrapeResponse<LLMResult = any, ActionsSchema extends (ActionsResult | never) = never> extends FirecrawlDocument<LLMResult, ActionsSchema> {
success: true;
warning?: string;
error?: string;
}
I can see the results just fine with console.log(scrapeResponse), but the fields are just not available in the types, and the doc lack clarity/examples on this.