diff --git a/packages/client/lib/commands/EXISTS.spec.ts b/packages/client/lib/commands/EXISTS.spec.ts index 241a97c362..be1a808225 100644 --- a/packages/client/lib/commands/EXISTS.spec.ts +++ b/packages/client/lib/commands/EXISTS.spec.ts @@ -22,7 +22,7 @@ describe('EXISTS', () => { testUtils.testWithClient('client.exists', async client => { assert.equal( await client.exists('key'), - false + 0 ); }, GLOBAL.SERVERS.OPEN); }); diff --git a/packages/client/lib/commands/EXISTS.ts b/packages/client/lib/commands/EXISTS.ts index 3b4665fc7f..3bbc72ada4 100644 --- a/packages/client/lib/commands/EXISTS.ts +++ b/packages/client/lib/commands/EXISTS.ts @@ -11,4 +11,4 @@ export function transformArguments( return pushVerdictArguments(['EXISTS'], keys); } -export { transformBooleanReply as transformReply } from './generic-transformers'; +export declare function transformReply(): number;