# Elm-ts-interop-pro Demo and Setup Tutorial

**URL:** <https://discourse.elm-lang.org/t/elm-ts-interop-pro-demo-and-setup-tutorial/7125>\
**Category:** Show and Tell\
**Created:** [March 19, 2021, 9:33pm UTC](https://discourse.elm-lang.org/t/elm-ts-interop-pro-demo-and-setup-tutorial/7125 "2021-03-19T21:33:25Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![neurodynamic](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/neurodynamic/32/984_2.png) [@neurodynamic](https://discourse.elm-lang.org/u/neurodynamic)\
**Post date:** [March 22, 2021, 8:28pm UTC](https://discourse.elm-lang.org/t/elm-ts-interop-pro-demo-and-setup-tutorial/7125/21 "2021-03-22T20:28:06Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![dillonkearns](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/dillonkearns/32/1587_2.png) [@dillonkearns](https://discourse.elm-lang.org/u/dillonkearns)\
**Post date:** [March 22, 2021, 10:03pm UTC](https://discourse.elm-lang.org/t/elm-ts-interop-pro-demo-and-setup-tutorial/7125/22 "2021-03-22T22:03:02Z")

</div>

> [@neurodynamic](#):
>
> 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?

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](https://elmlang.slack.com/archives/C01ST485YAU) 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 😄

---

<div class="post-metadata">

**Author:** ![dillonkearns](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/dillonkearns/32/1587_2.png) [@dillonkearns](https://discourse.elm-lang.org/u/dillonkearns)\
**Post date:** [March 22, 2021, 11:13pm UTC](https://discourse.elm-lang.org/t/elm-ts-interop-pro-demo-and-setup-tutorial/7125/23 "2021-03-22T23:13:50Z")

</div>

> [@choonkeat](#):
>
> Sorry, one last question: is there a way I can customise this file (or module name) in the cli? Reason is that I have multiple entry points and would like a definition file for each `Client.elm` and `Server.elm` e.g. as `src/Client/Interop.elm` and `src/Server/Interop.elm` respectively

I published a new NPM version of the community edition that supports this configuration now 👍

`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

```shell
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 😄

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [April 1, 2021, 11:13pm UTC](https://discourse.elm-lang.org/t/elm-ts-interop-pro-demo-and-setup-tutorial/7125/24 "2021-04-01T23:13:56Z")

</div>

Closed on April 1, 2021, 11:13pm UTC

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

[Previous page](https://discourse.elm-lang.org/t/elm-ts-interop-pro-demo-and-setup-tutorial/7125.md?page=1)
