From e2de116adbb49cb81fa83dc4172bb1f174f42aa4 Mon Sep 17 00:00:00 2001 From: Oleksii Sholik Date: Fri, 29 Sep 2023 16:32:51 +0300 Subject: [PATCH] Fix ESLint issue --- clients/typescript/src/satellite/client.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/typescript/src/satellite/client.ts b/clients/typescript/src/satellite/client.ts index 330ccc9221..afe5fea645 100644 --- a/clients/typescript/src/satellite/client.ts +++ b/clients/typescript/src/satellite/client.ts @@ -1063,7 +1063,7 @@ function serializeColumnData( return typeEncoder.bool(col_val as number) case 'REAL': case 'FLOAT4': - case 'FLOAT8': + case 'FLOAT8': { const num = col_val as number let num_str = '' if (Math.trunc(num) === num) { @@ -1074,6 +1074,7 @@ function serializeColumnData( num_str += num } return typeEncoder.text(num_str) + } default: return typeEncoder.text(col_val as string) }