Skip to content

chore: fix react table types #904

chore: fix react table types

chore: fix react table types #904

Triggered via push July 28, 2024 01:39
Status Failure
Total duration 2m 15s
Artifacts

ci.yml

on: push
Test & Publish
2m 7s
Test & Publish
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Test & Publish
Property '_features' is missing in type '{ data: any[]; columns: never[]; getCoreRowModel: (table: Table<TableFeatures, unknown>) => () => RowModel<TableFeatures, unknown>; }' but required in type '{ _features: TableFeatures; _rowModels?: RowModelOptions<TableFeatures, unknown> | undefined; autoResetAll?: boolean | undefined; data: unknown[]; ... 71 more ...; sortingFns?: Record<...> | undefined; }'.
Test & Publish
Type 'ColumnDef<any, Data>[]' is not assignable to type 'ColumnDef<TableFeatures, unknown, unknown>[]'.
Test & Publish
'row' is of type 'unknown'.
Test & Publish
Argument of type 'Table<TableFeatures, unknown>' is not assignable to parameter of type 'Table<any, any>'.
Test & Publish
Expected 2 type arguments, but got 1.
Test & Publish
Argument of type 'Partial<{ columnFilters: ColumnFiltersState; grouping: GroupingState; columnOrder: ColumnOrderState; columnPinning: ColumnPinningState; ... 8 more ...; sorting: SortingState; }>' is not assignable to parameter of type '{ columnFilters: ColumnFiltersState; grouping: GroupingState; columnOrder: ColumnOrderState; columnPinning: ColumnPinningState; ... 8 more ...; sorting: SortingState; }'.
Test & Publish
Type '{ columnFilters?: ColumnFiltersState | undefined; grouping?: GroupingState | undefined; columnOrder?: ColumnOrderState | undefined; ... 9 more ...; sorting?: SortingState | undefined; }' is not assignable to type '{ columnFilters: ColumnFiltersState; grouping: GroupingState; columnOrder: ColumnOrderState; columnPinning: ColumnPinningState; ... 8 more ...; sorting: SortingState; }'.
Test & Publish
Expected 2 type arguments, but got 1.
Test & Publish
Type 'AccessorKeyColumnDef<Post, unknown, never>[]' is not assignable to type 'ColumnDef<TableFeatures, unknown, unknown>[]'.
Test & Publish
Type 'AccessorKeyColumnDef<any, Person, string>' is not assignable to type 'ColumnDef<any, Person, unknown>'.