error TS2339: Property 'for' does not exist on type 'HTMLProps<HTMLLabelElement>' : <p>Using typescript and react with TSX files with definitely typed type definitions, I am getting the error:</p>

<pre><code>error TS2339: Property 'for' does not exist on type 'HTMLProps&lt;HTMLLabelElement&gt;'.
</code></pre>

<p>When trying to compile a component with the following TSX </p>

<pre><code>&lt;label for={this.props.inputId} className="input-label"&gt;{this.props.label}&lt;/label&gt;
</code></pre>

<p>I have already solved but adding here for the next person since the solution didn't show up anywhere when searching (Google or StackOverflow)</p>
