Skip to content

Typescript #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gagarin55 opened this issue Mar 29, 2018 · 2 comments
Closed

Typescript #239

gagarin55 opened this issue Mar 29, 2018 · 2 comments

Comments

@gagarin55
Copy link

Could someone give me an example how I can use this library in typescript project ?
It doesn't compile at all;(

...
import { Field } from 'redux-form';
import { SelectField } from 'redux-form-material-ui';
...

render() {
   return (
              <Field
                name="hui"
                component={SelectField}
              />);
}
@mihirsoni
Copy link
Collaborator

I assume, you must be using redux-form-material-ui@next which currently doesn't support typings.

I am open for the PR, you can take example of this file and create def file for next version ?

@mihirsoni
Copy link
Collaborator

Duplicate #223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants