Merge pull request #831 from twlite/patch-1

chore(README.md): use `satisfies` instead of `as` for ts example
This commit is contained in:
Nicolas 2024-10-28 16:06:41 -03:00 committed by GitHub
commit 298a343a90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -497,7 +497,7 @@ const crawlResponse = await app.crawlUrl('https://firecrawl.dev', {
scrapeOptions: {
formats: ['markdown', 'html'],
}
} as CrawlParams, true, 30) as CrawlStatusResponse;
} satisfies CrawlParams, true, 30) satisfies CrawlStatusResponse;
if (crawlResponse) {
console.log(crawlResponse)