const kuCoin = new KuCoinRestV1({
typeChecking: false // by default true
});
// Now this method returns data without type checking
await kuCoin.tick();
// It checks only the 'coinType' field despite the global 'typeChecking' option
await kuCoin.tick(undefined, { coinType: true });
kuCoin.typeChecking = true;
// And now this method returns data with type checking
await kuCoin.tick();
So you can write the following way: