File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ export function createCrawlPage(baseConfig: LoaderXCrawlBaseConfig) {
417
417
}
418
418
419
419
export function createCrawlData ( baseConfig : LoaderXCrawlBaseConfig ) {
420
- async function crawlData < D , T extends CrawlDataConfig > (
420
+ async function crawlData < D = any , T extends CrawlDataConfig = any > (
421
421
config : T ,
422
422
callback ?: ( res : CrawlDataSingleRes < D > ) => void
423
423
) : Promise < CrawlDataRes < D , T > > {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export interface XCrawlInstance {
34
34
callback ?: ( ( res : CrawlPageSingleRes ) => void ) | undefined
35
35
) => Promise < CrawlPageRes < T > >
36
36
37
- crawlData : < D , T extends CrawlDataConfig > (
37
+ crawlData : < D = any , T extends CrawlDataConfig = CrawlDataConfig > (
38
38
config : T ,
39
39
callback ?: ( ( res : CrawlDataSingleRes < D > ) => void ) | undefined
40
40
) => Promise < CrawlDataRes < D , T > >
You can’t perform that action at this time.
0 commit comments