From 7ca7da59b1be4bcc6cd384e77e397aaec4ea45b7 Mon Sep 17 00:00:00 2001 From: Felix Mosheev <9304194+felixmosh@users.noreply.github.com> Date: Mon, 7 Nov 2022 16:16:33 +0200 Subject: [PATCH] Fix types test --- __tests-tsd__/types.test-d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests-tsd__/types.test-d.ts b/__tests-tsd__/types.test-d.ts index e6b9c96..ac26793 100644 --- a/__tests-tsd__/types.test-d.ts +++ b/__tests-tsd__/types.test-d.ts @@ -17,5 +17,5 @@ const db = knex({}); .insert({ id: 1, name: 'bla' }) .onDuplicateUpdate('name', 'id', { name: db.raw('Concat(name, "_test")') }); - const testId = insertId === 1 ? 1 : 0; + return insertId; })();