title: Getting Error: Argument of type 'number' is not assignable to parameter of type 'string'
body: <p>I am using react player in my react typescript project. I am using a material UI volume slider to set the volume of react video player.</p>
  <p>the volume value will be between 0 - 1 so for calculating the value with respect to the slider i created a function.</p>
  <pre><code>const handleState = (newValue: any) =&gt; {
      setState({ ...state, volume:parseFloat(newValue/100)});
    };
  </code></pre>
  <p>the initial value of my volume is 0.5. I set it using useState</p>
  <pre><code>const [state, setState] = useState({
      volume: 0.5
    });
  </code></pre>
  <p>My call on the volume slider</p>
  <pre><code>&lt;Slider
              min={0}
              max={100}
              value={50}
              onChange={handleState}
            /&gt;
  </code></pre>
  <p>I am getting error on <code>newValue/100</code></p>