diff --git a/src/Deeptable.ts b/src/Deeptable.ts index d78066c39..8b3e2b46d 100644 --- a/src/Deeptable.ts +++ b/src/Deeptable.ts @@ -355,7 +355,7 @@ export class Deeptable { domain( columnName: string, - subfield?: string[], + subfield: string[] = [], ): [T[1], T[1]] { const key = [columnName, ...(subfield || [])] as Some; if (this.extents.get(key)) {