From 6fc3a2868dc6c0c1017ce00a2453a32af8e5ca3b Mon Sep 17 00:00:00 2001 From: Clayton Grassick Date: Thu, 18 Mar 2021 15:49:26 -0400 Subject: [PATCH] Loosen column req --- lib/index.d.ts | 3 ++- src/index.d.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index 4e2e27058..d95ecd5a1 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -51,7 +51,8 @@ export interface JsonQLLiteral { export interface JsonQLField { type: "field" tableAlias: string - column: string + /** If not present, use the entire row */ + column?: string } /** diff --git a/src/index.d.ts b/src/index.d.ts index 4e2e27058..d95ecd5a1 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -51,7 +51,8 @@ export interface JsonQLLiteral { export interface JsonQLField { type: "field" tableAlias: string - column: string + /** If not present, use the entire row */ + column?: string } /**