@tanstack/table-core 8.0.0-alpha.64 → 8.0.0-alpha.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/core.js +1 -0
- package/build/cjs/core.js.map +1 -1
- package/build/cjs/features/Cells.js +1 -1
- package/build/cjs/features/Cells.js.map +1 -1
- package/build/cjs/features/Columns.js +7 -7
- package/build/cjs/features/Columns.js.map +1 -1
- package/build/cjs/features/Filters.js +153 -77
- package/build/cjs/features/Filters.js.map +1 -1
- package/build/cjs/features/Headers.js +16 -16
- package/build/cjs/features/Headers.js.map +1 -1
- package/build/cjs/features/Ordering.js +1 -1
- package/build/cjs/features/Ordering.js.map +1 -1
- package/build/cjs/features/Pagination.js +1 -1
- package/build/cjs/features/Pagination.js.map +1 -1
- package/build/cjs/features/Pinning.js +6 -6
- package/build/cjs/features/Pinning.js.map +1 -1
- package/build/cjs/features/RowSelection.js +5 -5
- package/build/cjs/features/RowSelection.js.map +1 -1
- package/build/cjs/features/Sorting.js +3 -3
- package/build/cjs/features/Sorting.js.map +1 -1
- package/build/cjs/features/Visibility.js +2 -2
- package/build/cjs/features/Visibility.js.map +1 -1
- package/build/cjs/filterFns.js +51 -108
- package/build/cjs/filterFns.js.map +1 -1
- package/build/cjs/index.js +4 -4
- package/build/cjs/utils/filterRowsUtils.js +21 -0
- package/build/cjs/utils/filterRowsUtils.js.map +1 -1
- package/build/cjs/utils/getCoreRowModelAsync.js +1 -1
- package/build/cjs/utils/getCoreRowModelAsync.js.map +1 -1
- package/build/cjs/utils/getCoreRowModelSync.js +1 -1
- package/build/cjs/utils/getCoreRowModelSync.js.map +1 -1
- package/build/cjs/utils/getExpandedRowModel.js +1 -1
- package/build/cjs/utils/getExpandedRowModel.js.map +1 -1
- package/build/cjs/utils/getFilteredRowModelSync.js +130 -0
- package/build/cjs/utils/getFilteredRowModelSync.js.map +1 -0
- package/build/cjs/utils/getGroupedRowModel.js +1 -1
- package/build/cjs/utils/getGroupedRowModel.js.map +1 -1
- package/build/cjs/utils/getPaginationRowModel.js +1 -1
- package/build/cjs/utils/getPaginationRowModel.js.map +1 -1
- package/build/cjs/utils/getSortedRowModelSync.js +1 -1
- package/build/cjs/utils/getSortedRowModelSync.js.map +1 -1
- package/build/cjs/utils.js +2 -6
- package/build/cjs/utils.js.map +1 -1
- package/build/esm/index.js +422 -446
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +363 -395
- package/build/types/features/Filters.d.ts +24 -15
- package/build/types/filterFns.d.ts +10 -52
- package/build/types/index.d.ts +1 -2
- package/build/types/types.d.ts +2 -2
- package/build/types/utils/filterRowsUtils.d.ts +1 -0
- package/build/types/utils/{getColumnFilteredRowModelAsync.d.ts → getFilteredRowModelAsync.d.ts} +1 -1
- package/build/types/utils/getFilteredRowModelSync.d.ts +2 -0
- package/build/types/utils.d.ts +2 -2
- package/build/umd/index.development.js +424 -447
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +2 -1
- package/src/core.ts +1 -0
- package/src/features/Cells.ts +3 -1
- package/src/features/Columns.ts +11 -7
- package/src/features/Filters.ts +202 -94
- package/src/features/Headers.ts +16 -16
- package/src/features/Ordering.ts +1 -1
- package/src/features/Pagination.ts +1 -1
- package/src/features/Pinning.ts +10 -6
- package/src/features/RowSelection.ts +9 -6
- package/src/features/Sorting.ts +3 -5
- package/src/features/Visibility.ts +3 -2
- package/src/filterFns.ts +74 -147
- package/src/index.ts +1 -2
- package/src/types.ts +2 -0
- package/src/utils/filterRowsUtils.ts +24 -0
- package/src/utils/getCoreRowModelAsync.ts +1 -1
- package/src/utils/getCoreRowModelSync.ts +1 -1
- package/src/utils/getExpandedRowModel.ts +1 -1
- package/src/utils/getFilteredRowModelAsync.ts +49 -0
- package/src/utils/getFilteredRowModelSync.ts +150 -0
- package/src/utils/getGroupedRowModel.ts +1 -1
- package/src/utils/getPaginationRowModel.ts +1 -1
- package/src/utils/getSortedRowModelAsync.ts +1 -1
- package/src/utils/getSortedRowModelSync.ts +1 -1
- package/src/utils.ts +2 -4
- package/build/cjs/utils/getColumnFilteredRowModelSync.js +0 -115
- package/build/cjs/utils/getColumnFilteredRowModelSync.js.map +0 -1
- package/build/cjs/utils/getGlobalFilteredRowModelSync.js +0 -91
- package/build/cjs/utils/getGlobalFilteredRowModelSync.js.map +0 -1
- package/build/types/utils/getColumnFilteredRowModelSync.d.ts +0 -2
- package/build/types/utils/getGlobalFilteredRowModelAsync.d.ts +0 -4
- package/build/types/utils/getGlobalFilteredRowModelSync.d.ts +0 -2
- package/src/utils/getColumnFilteredRowModelAsync.ts +0 -118
- package/src/utils/getColumnFilteredRowModelSync.ts +0 -102
- package/src/utils/getGlobalFilteredRowModelAsync.ts +0 -96
- package/src/utils/getGlobalFilteredRowModelSync.ts +0 -79
|
@@ -14,10 +14,12 @@ export declare type ColumnFilter = {
|
|
|
14
14
|
value: unknown;
|
|
15
15
|
};
|
|
16
16
|
export declare type FilterFn<TGenerics extends TableGenerics> = {
|
|
17
|
-
(
|
|
17
|
+
(row: Row<TGenerics>, columnId: string, filterValue: any): boolean;
|
|
18
|
+
resolveFilterValue?: TransformFilterValueFn<TGenerics>;
|
|
18
19
|
autoRemove?: ColumnFilterAutoRemoveTestFn<TGenerics>;
|
|
19
20
|
};
|
|
20
|
-
export declare type
|
|
21
|
+
export declare type TransformFilterValueFn<TGenerics extends TableGenerics> = (value: any, column?: Column<TGenerics>) => unknown;
|
|
22
|
+
export declare type ColumnFilterAutoRemoveTestFn<TGenerics extends TableGenerics> = (value: any, column?: Column<TGenerics>) => boolean;
|
|
21
23
|
export declare type CustomFilterFns<TGenerics extends TableGenerics> = Record<string, FilterFn<TGenerics>>;
|
|
22
24
|
export declare type FilterFnOption<TGenerics extends TableGenerics> = 'auto' | BuiltInFilterFn | keyof TGenerics['FilterFns'] | FilterFn<TGenerics>;
|
|
23
25
|
export declare type FiltersColumnDef<TGenerics extends TableGenerics> = {
|
|
@@ -26,6 +28,7 @@ export declare type FiltersColumnDef<TGenerics extends TableGenerics> = {
|
|
|
26
28
|
}>>;
|
|
27
29
|
enableColumnFilter?: boolean;
|
|
28
30
|
enableGlobalFilter?: boolean;
|
|
31
|
+
enableFaceting?: boolean;
|
|
29
32
|
};
|
|
30
33
|
export declare type FiltersColumn<TGenerics extends TableGenerics> = {
|
|
31
34
|
filterFn: FilterFnOption<Overwrite<TGenerics, {
|
|
@@ -37,22 +40,25 @@ export declare type FiltersColumn<TGenerics extends TableGenerics> = {
|
|
|
37
40
|
getColumnIsFiltered: () => boolean;
|
|
38
41
|
getColumnFilterValue: () => unknown;
|
|
39
42
|
setColumnFilterValue: (updater: Updater<any>) => void;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
getFacetedRowModel: () => RowModel<TGenerics>;
|
|
44
|
+
getFacetedUniqueValues: () => Map<any, number>;
|
|
45
|
+
getFacetedMinMaxValues: () => [any, any];
|
|
46
|
+
};
|
|
47
|
+
export declare type FiltersRow<TGenerics extends TableGenerics> = {
|
|
48
|
+
columnFilterMap: Record<string, boolean>;
|
|
49
|
+
subRowsByFacetId: Record<string, Row<TGenerics>[]>;
|
|
43
50
|
};
|
|
44
51
|
export declare type FiltersOptions<TGenerics extends TableGenerics> = {
|
|
52
|
+
enableFilters?: boolean;
|
|
53
|
+
manualFiltering?: boolean;
|
|
45
54
|
filterFromLeafRows?: boolean;
|
|
46
55
|
filterFns?: TGenerics['FilterFns'];
|
|
47
|
-
manualColumnFiltering?: boolean;
|
|
48
56
|
onColumnFiltersChange?: OnChangeFn<ColumnFiltersState>;
|
|
49
57
|
enableColumnFilters?: boolean;
|
|
50
|
-
|
|
51
|
-
manualGlobalFiltering?: boolean;
|
|
58
|
+
getFilteredRowModel?: (instance: TableInstance<TGenerics>) => () => RowModel<TGenerics>;
|
|
52
59
|
globalFilterFn?: FilterFnOption<TGenerics>;
|
|
53
60
|
onGlobalFilterChange?: OnChangeFn<any>;
|
|
54
61
|
enableGlobalFilter?: boolean;
|
|
55
|
-
getGlobalFilteredRowModel?: (instance: TableInstance<TGenerics>) => () => RowModel<TGenerics>;
|
|
56
62
|
getColumnCanGlobalFilter?: (column: Column<TGenerics>) => boolean;
|
|
57
63
|
};
|
|
58
64
|
export declare type FiltersInstance<TGenerics extends TableGenerics> = {
|
|
@@ -62,20 +68,23 @@ export declare type FiltersInstance<TGenerics extends TableGenerics> = {
|
|
|
62
68
|
setColumnFilterValue: (columnId: string, updater: Updater<any>) => void;
|
|
63
69
|
resetColumnFilters: () => void;
|
|
64
70
|
getColumnCanColumnFilter: (columnId: string) => boolean;
|
|
71
|
+
getColumnFacetedRowModel: (columnId: string) => RowModel<TGenerics>;
|
|
65
72
|
getColumnIsFiltered: (columnId: string) => boolean;
|
|
66
73
|
getColumnFilterValue: (columnId: string) => unknown;
|
|
67
74
|
getColumnFilterIndex: (columnId: string) => number;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
75
|
+
getPreFilteredRowModel: () => RowModel<TGenerics>;
|
|
76
|
+
getFilteredRowModel: () => RowModel<TGenerics>;
|
|
77
|
+
_getFilteredRowModel?: () => RowModel<TGenerics>;
|
|
71
78
|
setGlobalFilter: (updater: Updater<any>) => void;
|
|
72
79
|
resetGlobalFilter: () => void;
|
|
73
80
|
getGlobalAutoFilterFn: () => FilterFn<TGenerics> | undefined;
|
|
74
81
|
getGlobalFilterFn: () => FilterFn<TGenerics> | undefined;
|
|
75
82
|
getColumnCanGlobalFilter: (columnId: string) => boolean;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
83
|
+
getGlobalFacetedRowModel: () => RowModel<TGenerics>;
|
|
84
|
+
getGlobalFacetedUniqueValues: () => Map<any, number>;
|
|
85
|
+
getGlobalFacetedMinMaxValues: () => [number, number];
|
|
79
86
|
};
|
|
80
87
|
export declare const Filters: TableFeature;
|
|
81
88
|
export declare function shouldAutoRemoveFilter<TGenerics extends TableGenerics>(filterFn?: FilterFn<TGenerics>, value?: any, column?: Column<TGenerics>): boolean;
|
|
89
|
+
export declare function getRowModelMinMaxValues<TGenerics extends TableGenerics>(rowModel: RowModel<TGenerics>, columnId: string): [any, any];
|
|
90
|
+
export declare function getRowModelUniqueValues<TGenerics extends TableGenerics>(rowModel: RowModel<TGenerics>, columnId: string): Map<any, number>;
|
|
@@ -1,55 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FilterFn } from './features/Filters';
|
|
2
2
|
export declare const filterFns: {
|
|
3
|
-
includesString:
|
|
4
|
-
includesStringSensitive:
|
|
5
|
-
equalsString:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
betweenNumberRange: typeof betweenNumberRange;
|
|
3
|
+
includesString: FilterFn<any>;
|
|
4
|
+
includesStringSensitive: FilterFn<any>;
|
|
5
|
+
equalsString: FilterFn<any>;
|
|
6
|
+
arrIncludes: FilterFn<any>;
|
|
7
|
+
arrIncludesAll: FilterFn<any>;
|
|
8
|
+
arrIncludesSome: FilterFn<any>;
|
|
9
|
+
equals: FilterFn<any>;
|
|
10
|
+
weakEquals: FilterFn<any>;
|
|
11
|
+
inNumberRange: FilterFn<any>;
|
|
13
12
|
};
|
|
14
13
|
export declare type BuiltInFilterFn = keyof typeof filterFns;
|
|
15
|
-
declare function includesString<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], filterValue: unknown): Row<TGenerics>[];
|
|
16
|
-
declare namespace includesString {
|
|
17
|
-
var autoRemove: (val: any) => boolean;
|
|
18
|
-
}
|
|
19
|
-
declare function includesStringSensitive<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], filterValue: unknown): Row<TGenerics>[];
|
|
20
|
-
declare namespace includesStringSensitive {
|
|
21
|
-
var autoRemove: (val: any) => boolean;
|
|
22
|
-
}
|
|
23
|
-
declare function equalsString<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], filterValue: unknown): Row<TGenerics>[];
|
|
24
|
-
declare namespace equalsString {
|
|
25
|
-
var autoRemove: (val: any) => boolean;
|
|
26
|
-
}
|
|
27
|
-
declare function equalsStringSensitive<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], filterValue: unknown): Row<TGenerics>[];
|
|
28
|
-
declare namespace equalsStringSensitive {
|
|
29
|
-
var autoRemove: (val: any) => boolean;
|
|
30
|
-
}
|
|
31
|
-
declare function arrIncludes<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], filterValue: unknown): Row<TGenerics>[];
|
|
32
|
-
declare namespace arrIncludes {
|
|
33
|
-
var autoRemove: (val: any) => boolean;
|
|
34
|
-
}
|
|
35
|
-
declare function arrIncludesAll<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], filterValue: unknown[]): Row<TGenerics>[];
|
|
36
|
-
declare namespace arrIncludesAll {
|
|
37
|
-
var autoRemove: (val: any) => boolean;
|
|
38
|
-
}
|
|
39
|
-
declare function arrIncludesSome<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], filterValue: unknown[]): Row<TGenerics>[];
|
|
40
|
-
declare namespace arrIncludesSome {
|
|
41
|
-
var autoRemove: (val: any) => boolean;
|
|
42
|
-
}
|
|
43
|
-
declare function equals<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], filterValue: unknown): Row<TGenerics>[];
|
|
44
|
-
declare namespace equals {
|
|
45
|
-
var autoRemove: (val: any) => boolean;
|
|
46
|
-
}
|
|
47
|
-
declare function weakEquals<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], filterValue: unknown): Row<TGenerics>[];
|
|
48
|
-
declare namespace weakEquals {
|
|
49
|
-
var autoRemove: (val: any) => boolean;
|
|
50
|
-
}
|
|
51
|
-
declare function betweenNumberRange<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], filterValue: [unknown, unknown]): Row<TGenerics>[];
|
|
52
|
-
declare namespace betweenNumberRange {
|
|
53
|
-
var autoRemove: (val: any) => boolean;
|
|
54
|
-
}
|
|
55
|
-
export {};
|
package/build/types/index.d.ts
CHANGED
|
@@ -17,8 +17,7 @@ export * from './features/Expanding';
|
|
|
17
17
|
export * from './utils';
|
|
18
18
|
export * from './utils/getCoreRowModelSync';
|
|
19
19
|
export * from './utils/getCoreRowModelAsync';
|
|
20
|
-
export * from './utils/
|
|
21
|
-
export * from './utils/getGlobalFilteredRowModelSync';
|
|
20
|
+
export * from './utils/getFilteredRowModelSync';
|
|
22
21
|
export * from './utils/getSortedRowModelSync';
|
|
23
22
|
export * from './utils/getGroupedRowModel';
|
|
24
23
|
export * from './utils/getExpandedRowModel';
|
package/build/types/types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { VisibilityInstance, VisibilityTableState, VisibilityColumn as ColumnVis
|
|
|
4
4
|
import { ColumnOrderInstance, ColumnOrderOptions, ColumnOrderTableState } from './features/Ordering';
|
|
5
5
|
import { ColumnPinningColumn, ColumnPinningColumnDef, ColumnPinningInstance, ColumnPinningOptions, ColumnPinningRow, ColumnPinningTableState } from './features/Pinning';
|
|
6
6
|
import { HeadersInstance } from './features/Headers';
|
|
7
|
-
import { FiltersColumn, FiltersColumnDef, FiltersInstance, FiltersOptions, FiltersTableState } from './features/Filters';
|
|
7
|
+
import { FiltersColumn, FiltersColumnDef, FiltersInstance, FiltersOptions, FiltersRow, FiltersTableState } from './features/Filters';
|
|
8
8
|
import { SortingColumn, SortingColumnDef, SortingInstance, SortingOptions, SortingTableState } from './features/Sorting';
|
|
9
9
|
import { GroupingCell, GroupingColumn, GroupingColumnDef, GroupingInstance, GroupingOptions, GroupingRow, GroupingTableState } from './features/Grouping';
|
|
10
10
|
import { ExpandedInstance, ExpandedOptions, ExpandedTableState, ExpandedRow } from './features/Expanding';
|
|
@@ -42,7 +42,7 @@ export declare type TableInstance<TGenerics extends TableGenerics> = TableCore<T
|
|
|
42
42
|
export declare type TableOptions<TGenerics extends TableGenerics> = CoreOptions<TGenerics> & ColumnsOptions<TGenerics> & RowsOptions<TGenerics> & VisibilityOptions & ColumnOrderOptions & ColumnPinningOptions & FiltersOptions<TGenerics> & SortingOptions<TGenerics> & GroupingOptions<TGenerics> & ExpandedOptions<TGenerics> & ColumnSizingOptions & PaginationOptions<TGenerics> & RowSelectionOptions<TGenerics>;
|
|
43
43
|
export declare type TableState = CoreTableState & VisibilityTableState & ColumnOrderTableState & ColumnPinningTableState & FiltersTableState & SortingTableState & ExpandedTableState & GroupingTableState & ColumnSizingTableState & PaginationTableState & RowSelectionTableState;
|
|
44
44
|
export declare type InitialTableState = Partial<CoreTableState & VisibilityTableState & ColumnOrderTableState & ColumnPinningTableState & FiltersTableState & SortingTableState & ExpandedTableState & GroupingTableState & ColumnSizingTableState & PaginationInitialTableState & RowSelectionTableState>;
|
|
45
|
-
export declare type Row<TGenerics extends TableGenerics> = CoreRow<TGenerics> & CellsRow<TGenerics> & VisibilityRow<TGenerics> & ColumnPinningRow<TGenerics> & GroupingRow & RowSelectionRow & ExpandedRow;
|
|
45
|
+
export declare type Row<TGenerics extends TableGenerics> = CoreRow<TGenerics> & CellsRow<TGenerics> & VisibilityRow<TGenerics> & ColumnPinningRow<TGenerics> & FiltersRow<TGenerics> & GroupingRow & RowSelectionRow & ExpandedRow;
|
|
46
46
|
export declare type RowValues = {
|
|
47
47
|
[key: string]: any;
|
|
48
48
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { TableGenerics, Row, RowModel, TableInstance } from '../types';
|
|
2
|
+
export declare function filterRows<TGenerics extends TableGenerics>(rows: Row<TGenerics>[], columnIds: string[], instance: TableInstance<TGenerics>): RowModel<TGenerics>;
|
|
2
3
|
export declare function filterRowModelFromLeafs<TGenerics extends TableGenerics>(rowsToFilter: Row<TGenerics>[], filterRows: (rowsToFilter: Row<TGenerics>[], depth: number) => Row<TGenerics>[], instance: TableInstance<TGenerics>): RowModel<TGenerics>;
|
|
3
4
|
export declare function filterRowModelFromRoot<TGenerics extends TableGenerics>(rowsToFilter: Row<TGenerics>[], filterRows: (rowsToFilter: Row<TGenerics>[], depth: number) => Row<TGenerics>[], instance: TableInstance<TGenerics>): RowModel<TGenerics>;
|
package/build/types/utils/{getColumnFilteredRowModelAsync.d.ts → getFilteredRowModelAsync.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TableInstance, RowModel, TableGenerics } from '../types';
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function getFilteredRowModelAsync<TGenerics extends TableGenerics>(opts?: {
|
|
3
3
|
initialSync?: boolean;
|
|
4
4
|
}): (instance: TableInstance<TGenerics>) => () => RowModel<TGenerics>;
|
package/build/types/utils.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare type AnyFunction = (...args: any) => any;
|
|
|
17
17
|
export declare function isFunction<T extends AnyFunction>(d: any): d is T;
|
|
18
18
|
export declare function flattenBy<TNode>(arr: TNode[], getChildren: (item: TNode) => TNode[]): TNode[];
|
|
19
19
|
export declare function memo<TDeps extends readonly any[], TResult>(getDeps: () => [...TDeps], fn: (...args: NoInfer<[...TDeps]>) => TResult, opts: {
|
|
20
|
-
key:
|
|
20
|
+
key: any;
|
|
21
21
|
debug?: () => any;
|
|
22
22
|
onChange?: (result: TResult, previousResult?: TResult) => void;
|
|
23
23
|
}): () => TResult;
|
|
@@ -25,7 +25,7 @@ declare type WorkFn = () => void;
|
|
|
25
25
|
export declare function incrementalMemo<TDeps extends readonly any[], TResult>(getDeps: () => [...TDeps], getInitialValue: (...args: NoInfer<[...TDeps]>) => TResult, schedule: (...args: NoInfer<[...TDeps]>) => (resultRef: {
|
|
26
26
|
current: TResult;
|
|
27
27
|
}) => (scheduler: (workFn: WorkFn) => void) => void, opts: {
|
|
28
|
-
key:
|
|
28
|
+
key: any;
|
|
29
29
|
onProgress: (progress: number, nextResult: TResult, result?: TResult) => void;
|
|
30
30
|
onChange: (result: TResult, previousResult?: TResult) => void;
|
|
31
31
|
initialSync?: boolean;
|