chore(8.0): final pre-RC1 sweep — API consistency, named errors, orphans, zero-cast codebase
This commit is contained in:
parent
970e08c466
commit
1f7e365a4e
237 changed files with 1951 additions and 49413 deletions
|
|
@ -164,7 +164,9 @@ export class SmartCSVImporter {
|
|||
relatedColumn: 'related|see also|links|references',
|
||||
csvDelimiter: undefined as string | undefined,
|
||||
csvHeaders: true,
|
||||
onProgress: () => {},
|
||||
// Annotated with the full callback signature so the merged opts type has
|
||||
// a single callable shape (the no-op default narrowed the union).
|
||||
onProgress: (() => {}) as NonNullable<SmartCSVOptions['onProgress']>,
|
||||
...options
|
||||
}
|
||||
|
||||
|
|
@ -379,7 +381,7 @@ export class SmartCSVImporter {
|
|||
throughput: Math.round(rowsPerSecond * 10) / 10,
|
||||
eta: Math.round(estimatedTimeRemaining),
|
||||
phase: 'extracting'
|
||||
} as any)
|
||||
})
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue