L
L
Lenar Fattakhov2016-08-25 19:02:01
JavaScript
Lenar Fattakhov, 2016-08-25 19:02:01

How to import typescript interface from react-widgets library?

I want to import the multiselect props interface because I am writing a wrapper over it.
The code itself in the library looks like this
https://github.com/DefinitelyTyped/DefinitelyTyped...
https://github.com/DefinitelyTyped/DefinitelyTyped...
I need MultiselectProps, but I can't import it. Tried and

import { MultiselectProps} from 'react-widgets/lib/Multiselect';
import * as MultiselectProps from 'react-widgets/lib/Multiselect';

Can I somehow get the interface I need?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question