From 180a98f3ac93be8fe72e2a3272ed3ff3068140f5 Mon Sep 17 00:00:00 2001 From: Benjamin Schmidt Date: Wed, 30 Oct 2024 14:47:36 -0400 Subject: [PATCH] fix domain subfield bug (#169) --- src/Deeptable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {