chore(README.md): use satisfies instead of as for ts example

This commit is contained in:
Twilight 2024-10-28 09:40:35 +05:45 committed by GitHub
parent 8a4f4cb9d9
commit b48eed5716
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -483,7 +483,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)