# 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:** 1\
**Showing post:** 5

<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 21, 2021, 3:44pm UTC](https://discourse.elm-lang.org/t/elm-ts-interop-pro-demo-and-setup-tutorial/7125/5 "2021-03-21T15:44:27Z")

</div>

> [@choonkeat](#):
>
> ```auto
> 'Elm' refers to a UMD global, but the current file is a module. Consider adding an import instead.ts(2686)
> 
> ```

The output from `elm make` uses UMD, which means it supports both CommonJS or being added to the global namespace. TypeScript will give a warning about using UMD unless you set this in your `tsconfig.json`:

```json
"allowUmdGlobalAccess": true

```

They give a little more detail in [the docs for `allowUmdGlobalAccess`](https://www.typescriptlang.org/tsconfig#allowUmdGlobalAccess).

---

_[View the full topic](https://discourse.elm-lang.org/t/elm-ts-interop-pro-demo-and-setup-tutorial/7125)._
