From 57c28345db619b7d2684f4fdc5b1c33a2c9b1cb4 Mon Sep 17 00:00:00 2001 From: Matt Robenolt Date: Tue, 2 Aug 2022 10:57:15 -0700 Subject: [PATCH] Make QuerySession more opaque We intentionally don't want or need to surface types within the QuerySession type. We likely will change what this is and it's intended to simply be echo'd back, whatever it is. So converting it to simply a type alias for `object` seems to be the right move. --- src/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 7877fa0..ce198cb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -35,10 +35,7 @@ export interface QueryResultField { columnType?: string | null } -export interface QuerySession { - signature: string - vitessSession: any -} +export type QuerySession = unknown interface VitessError { message: string