Skip to content

Commit 58866b4

Browse files
committed
[types] Rename generic param
1 parent 0ddfe53 commit 58866b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/@types/store/with-schemas/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,14 +299,14 @@ export type DoRollback<Schemas extends OptionalSchemas> = (
299299
export type SortedRowIdsArgs<
300300
Schema extends OptionalTablesSchema,
301301
TableId extends TableIdFromSchema<Schema>,
302-
CellId extends CellIdFromSchema<Schema, TableId> | undefined =
302+
CellIdOrUndefined extends CellIdFromSchema<Schema, TableId> | undefined =
303303
| CellIdFromSchema<Schema, TableId>
304304
| undefined,
305305
> = {
306306
/// SortedRowIdsArgs.tableId
307307
tableId: TableId;
308308
/// SortedRowIdsArgs.cellId
309-
cellId?: CellId;
309+
cellId?: CellIdOrUndefined;
310310
/// SortedRowIdsArgs.descending
311311
descending?: boolean;
312312
/// SortedRowIdsArgs.offset
@@ -469,12 +469,12 @@ export type RowIdsListener<
469469
export type SortedRowIdsListener<
470470
Schemas extends OptionalSchemas,
471471
TableId extends TableIdFromSchema<Schemas[0]>,
472-
CellId extends CellIdFromSchema<Schemas[0], TableId> | undefined,
472+
CellIdOrUndefined extends CellIdFromSchema<Schemas[0], TableId> | undefined,
473473
Store extends StoreAlias<Schemas> = StoreAlias<Schemas>,
474474
> = (
475475
store: Store,
476476
tableId: TableId,
477-
cellId: CellId,
477+
cellId: CellIdOrUndefined,
478478
descending: boolean,
479479
offset: number,
480480
limit: number | undefined,

0 commit comments

Comments
 (0)