title: Can't add option object to the SHA3 function with typescript
body: <p>the <code>SHA3</code> function provides an option to control the output length as shown in this example:</p>
  
  <pre><code>var hash = CryptoJS.SHA3("Message", { outputLength: 512 });
  var hash = CryptoJS.SHA3("Message", { outputLength: 384 });
  var hash = CryptoJS.SHA3("Message", { outputLength: 256 });
  var hash = CryptoJS.SHA3("Message", { outputLength: 224 });
  </code></pre>
  
  <p>however when used in typescript with <a href="https://www.npmjs.com/package/@types/crypto-js" rel="nofollow noreferrer">@types/crypto-js</a> i am getting the following type error when trying to specify the the <code>outputLength</code>:</p>
  
  <blockquote>
    <p>Argument of type '{ outputLength: number; }' is not assignable to
    parameter of type 'string | WordArray | undefined'.
          Object literal may only specify known properties, and 'outputLength' does not exist in type 'string | WordArray |
    undefined'.</p>
  </blockquote>