Elm-ts-interop-pro Demo and Setup Tutorial

Hey curious question by the way. I’m enjoying this a lot so far (I just used the ts-to-elm page for my first real practical use case and I bet it saved me at least half an hour of work and a lot of mental energy), and I’m also finding some “Ooh, I’d love it if it had this, too” things popping into my head. But I also know getting tons of those can be overwhelming, especially right after the work you were probably doing to get it launched.

Are those “non-essential wish list” thoughts more helpful than overwhelming or more overwhelming than helpful right now? And if “more helpful”, is there a most-preferred place to put them?

1 Like

Thank you for asking! I really love to get feedback, however fine-grained, especially when it’s based in real-world usage! So I’d love to hear all about it. I just got an #elm-ts-interop channel in the Elm Slack, so maybe we can discuss further over there?

Also, I’m very glad to hear that you’re having a good experience with elm-ts-interop so far! Thanks for sharing that :smile:

1 Like

I published a new NPM version of the community edition that supports this configuration now :+1:

elm-ts-interop --entrypoint Main --output src/Main/index.d.ts --definition-dir custom-src-dir --definition-module CustomNamespace.CustomDefinitionsModule

So for your example, you could run this command

elm-ts-interop --entrypoint Server --output src/Main/index.d.ts --definition-module Server.Interop

Hope that gets you what you needed there. I’d love to hear how it goes in the #elm-ts-interop channel :grinning_face_with_smiling_eyes:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.