npm install --save-dev elm-ts-interop
npx elm-ts-interop init
Generates TypeScript type bindings from our InteropDefinitions.elm file.
Choose an output filename for the generated TypeScript Declaration file from the elm-ts-interop
setup instructions.
npx elm-ts-interop --output src/Main.elm.d.ts