Rework basic DataTable components to be free of errors. #70
Annotations
10 errors
build (22.x):
src/components/tables/DataTable/DataTableEager.tsx#L11
Cannot find module '../../../prefab/forms/SearchInput/SearchInput.tsx' or its corresponding type declarations.
|
build (22.x):
src/components/tables/DataTable/DataTableEager.tsx#L12
Cannot find module '../../../prefab/forms/MultiSearch/MultiSearch.tsx' or its corresponding type declarations.
|
build (22.x):
src/components/tables/DataTable/DataTableEager.tsx#L53
Argument of type '{ defaultColumn: { disableGlobalFilter: true; disableSortBy: true; }; initialState: { hiddenColumns?: ReactTable.IdType<D>[] | undefined; columnOrder?: ReactTable.IdType<D>[]; expanded?: Record<ReactTable.IdType<D>, boolean>; filters: ReactTable.Filters<D>; globalFilter: any; groupBy?: ReactTable.IdType<D>[]; pageSize: number; pageIndex: number; columnResizing?: { startX?: number | undefined; columnWidth: number; headerIdWidths: Record<string, number>; columnWidths: any; isResizingColumn?: string | undefined; }; selectedRowIds?: Record<ReactTable.IdType<D>, boolean>; rowState?: Record<string, { cellState: ReactTable.UseRowStateLocalState<D, unknown>; }>; sortBy: ReactTable.SortingRule<D>[]; customFilters?: FilterQuery; endOfStream?: boolean; partialStream?: boolean; }; manualGlobalFilter: false; disableSortRemove: true; manualPagination: false; autoResetPage: false; columns: readonly ReactTable.Column<D>[]; data: readonly D[]; getRowId: ((originalRow: D, relativeIndex: number, parent?: ReactTable.Row<D> | undefined) => string) | undefined; }' is not assignable to parameter of type 'TableOptions<D>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
|
build (22.x):
src/components/tables/DataTable/DataTableEager.tsx#L121
Parameter 'evt' implicitly has an 'any' type.
|
build (22.x):
src/components/tables/DataTable/DataTableEager.tsx#L135
Parameter 'filters' implicitly has an 'any' type.
|
build (22.x):
src/components/tables/DataTable/DataTableLazy.tsx#L6
Cannot find module '../../../util/component_util' or its corresponding type declarations.
|
build (22.x):
src/components/tables/DataTable/DataTableLazy.tsx#L7
Cannot find module '../../../util/hooks' or its corresponding type declarations.
|
build (22.x):
src/components/tables/DataTable/DataTableLazy.tsx#L9
Cannot find module '../../overlays/loader/Loader' or its corresponding type declarations.
|
build (22.x):
src/components/tables/DataTable/DataTableLazy.tsx#L10
Cannot find module '../../buttons/Button' or its corresponding type declarations.
|
build (22.x):
src/components/tables/DataTable/DataTableLazy.tsx#L19
Cannot find module '../../icons/icon-pack-baklava/BaklavaIcon' or its corresponding type declarations.
|