Redis javascript ZADD is not a function?

I am getting TypeError: client.zadd is not a function
, zadd is valid redis function.

CLI: zadd ‘zkey222’ 12 ‘123’ , works fine.

import { createClient } from 'redis';

const client = createClient();

client.on('error', (err) => console.log('Redis Client Error', err));

await client.connect();
await client.set('key', 'value');
await client.zadd('zkey222', 12, '123');

const value = await client.get('key');
console.log(value)

await client.disconnect();