mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +08:00
chore(README.md): use satisfies
instead of as
for ts example
This commit is contained in:
parent
8a4f4cb9d9
commit
b48eed5716
|
@ -483,7 +483,7 @@ const crawlResponse = await app.crawlUrl('https://firecrawl.dev', {
|
||||||
scrapeOptions: {
|
scrapeOptions: {
|
||||||
formats: ['markdown', 'html'],
|
formats: ['markdown', 'html'],
|
||||||
}
|
}
|
||||||
} as CrawlParams, true, 30) as CrawlStatusResponse;
|
} satisfies CrawlParams, true, 30) satisfies CrawlStatusResponse;
|
||||||
|
|
||||||
if (crawlResponse) {
|
if (crawlResponse) {
|
||||||
console.log(crawlResponse)
|
console.log(crawlResponse)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user