react-automata icon indicating copy to clipboard operation
react-automata copied to clipboard

Typescript support?

Open lamtranweb opened this issue 5 years ago • 1 comments

Is Typescript support planned? Currently, the withStateMachine HOC produces a component that no longer has the props from the wrapped component. Thus VSCode can no longer validate props when the resulting component is used in JSX.

lamtranweb avatar Oct 20 '18 01:10 lamtranweb

Thank you very much for opening this issue, @lamtranweb. I'm not planning to add TS support at the moment, but PRs are always welcome :)

MicheleBertoli avatar Oct 21 '18 13:10 MicheleBertoli