title: No overload matches this call decrpyt string in typescript?
body: <p>Hello everyone i have written the code for encrypting string, but now i want to decrypt them for the next process this is my code .</p>
  <pre><code>export const decrypt = (text: string) =&gt; {
    try {
      if (!ENCRYPTION_KEY) {
        throw new Error(&quot;encrypt_Key is not set&quot;);
      }
      const texts = text;
      let textParts = texts.split(&quot;:&quot;);
      let iv = Buffer.from(textParts.shift(), &quot;hex&quot;); // this error here with no overload Overload 1 of 4, '(arrayBuffer: WithImplicitCoercion&lt;ArrayBuffer
      let encryptedText = Buffer.from(textParts.join(&quot;:&quot;), &quot;hex&quot;);
      let decipher = createDecipheriv(
        &quot;aes-256-cbc&quot;,
        Buffer.from(ENCRYPTION_KEY),
        iv
      );
      let decrypted = Buffer.concat([
        decipher.update(encryptedText),
        decipher.final(),
      ]);
      return decrypted.toString();
    } catch (e) {
      console.error(e);
    }
  };
  </code></pre>