title: Using Redux-Form in Typescript I would like to use the WrappedFieldProps<S> interface but it isn't exported. Am I doing it wrong?
body: <p>I'm using Redux-Form and using <code>&lt;Field&gt;</code> components that are rendered using functions (as in the sync validation example on the Redux-Form site: <a href="http://redux-form.com/6.0.0-rc.1/examples/syncValidation/" rel="nofollow noreferrer">http://redux-form.com/6.0.0-rc.1/examples/syncValidation/</a>).</p>
  
  <p>As I'm using Typescript I'd like to give the <code>renderField</code> function's parameter a type. The type of the parameter appears to be based on the interface <code>WrappedFieldProps&lt;S&gt;</code> however that interface isn't exported so I can't use it.</p>
  
  <p>So am I right to want to use <code>WrappedFieldProps&lt; S&gt;</code>, or is there a better way?</p>
  
  <p>Example code:</p>
  
  <pre><code>interface RenderFieldProps extends WrappedFieldProps&lt;AppState&gt; {
      placeholder: string,
      type: string,
  };
  
  public render(): JSX.Element {
      return (
          &lt;form onSubmit={this.props.handleSubmit(this.handleFormSubmit)}&gt;
              &lt;Field name="email" component={this.renderField} type="text" placeholder="Add your email address"/&gt;
              &lt;button type="submit"&gt;Submit form&lt;/button&gt;
          &lt;/form&gt;
      );
  }
  
  private renderField = (props: RenderFieldProps) =&gt; (
      &lt;div&gt;
          &lt;input {...props.input} placeholder={props.placeholder} type={props.type}/&gt;
      &lt;/div&gt;
  );
  </code></pre>