Adds typescript support for the component which embeds Elm code in
React. Also provides helper types for extracting the Ports and Flags
used by an Elm program.
These type declarations are useful in contexts where the TypeScript
type declaration of the underlying Elm program is either hand-written,
or generated by a tool such as elm-typescript-interop.
If the Culture Amp team isn't interested in taking responsibility for typescript files then I'm happy to create a @types/react-elm-components package under the DefinitelyTyped repo instead :)
Adds typescript support for the component which embeds Elm code in React. Also provides helper types for extracting the Ports and Flags used by an Elm program.
These type declarations are useful in contexts where the TypeScript type declaration of the underlying Elm program is either hand-written, or generated by a tool such as
elm-typescript-interop
.If the Culture Amp team isn't interested in taking responsibility for typescript files then I'm happy to create a
@types/react-elm-components
package under theDefinitelyTyped
repo instead :)