Skip to content

Commit

Permalink
fix domain subfield bug (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmschmidt authored Oct 30, 2024
1 parent 2a75a83 commit 180a98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Deeptable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export class Deeptable {

domain<T extends [number, number] | [string, Date] = [number, number]>(
columnName: string,
subfield?: string[],
subfield: string[] = [],
): [T[1], T[1]] {
const key = [columnName, ...(subfield || [])] as Some<string>;
if (this.extents.get(key)) {
Expand Down

0 comments on commit 180a98f

Please sign in to comment.