title: TS2339: Property does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<FormInstance<{}, Partial<ConfigProps<{}, {}>>>> & ...'
body: <p>I am new to typescript and redux and I'm trying to work through the SimpleForm example from redux-form. </p>
  
  <p>I have the following form component </p>
  
  <pre><code>import * as React from 'react';
  import {Field, reduxForm} from 'redux-form';
  
  class SimpleForm extends React.Component&lt;any, any&gt; {
  
  public render() {
  
      const { handleSubmit, doCancel } = this.props;
  
      return (
          &lt;div&gt;
              &lt;h1&gt;Simple Form&lt;/h1&gt;
  
              &lt;form onSubmit={handleSubmit}&gt;
                  &lt;div&gt;
  
                  &lt;label htmlFor="firstName"&gt;First Name&lt;/label&gt;
                  &lt;Field name="firstName" component="input" type="text" /&gt;
  
                  &lt;label htmlFor="lastName"&gt;Last Name&lt;/label&gt;
                  &lt;Field name="lastName" component="input" type="text" /&gt;
  
                  &lt;/div&gt;
                  &lt;div&gt;
                      &lt;button type="button" onClick={doCancel}&gt;Cancel&lt;/button&gt;
                      &lt;button type="submit"&gt;Submit&lt;/button&gt;
                  &lt;/div&gt;
  
  
              &lt;/form&gt;
  
          &lt;/div&gt;
  )};
  
  }
  export default reduxForm({ form: "simpleForm" })(SimpleForm);
  </code></pre>
  
  <p>And I consume the component using</p>
  
  <pre><code>return (
          &lt;div&gt;
              &lt;SimpleForm onSubmit={this.handleSubmit} doCancel={this.doCancel} /&gt;
  
          &lt;/div&gt;
      );`
  </code></pre>
  
  <p>This gives me the following error</p>
  
  <pre><code>    TS2339: Property 'doCancel' does not exist on type 'IntrinsicAttributes &amp; IntrinsicClassAttributes&lt;FormInstance&lt;{}, Partial&lt;ConfigProps&lt;{}, {}&gt;&gt;&gt;&gt; &amp; ...'.
  </code></pre>
  
  <p>if I remove the doCancel prop the form renders ok, but obviously the cancel button is non-functional.</p>
  
  <p>What am I doing wrong here ?</p>