We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b97c682 commit cf354baCopy full SHA for cf354ba
src/@types/queries/index.d.ts
@@ -15,7 +15,7 @@ export type ResultTable = {[rowId: Id]: ResultRow};
15
export type ResultRow = {[cellId: Id]: ResultCell};
16
17
/// ResultCell
18
-export type ResultCell = string | number | boolean;
+export type ResultCell = string | number | boolean | null;
19
20
/// ResultCellOrUndefined
21
export type ResultCellOrUndefined = ResultCell | undefined;
src/queries/index.ts
@@ -365,7 +365,7 @@ export const createQueries = getCreateFunction((store: Store): Queries => {
365
);
366
groupRow[groupedCellId] = (
367
isUndefined(getCellOrValueType(aggregateValue))
368
- ? null
+ ? undefined
369
: aggregateValue
370
) as Cell;
371
},
0 commit comments