elm-ts-json Decoder is a drop-in replacement for our original elm/json Flags Decodernpx elm-ts-interop --output src/Main.elm.d.ts --watchInteropPorts.decodeFlags (the module from running elm-ts-interop init) ensures that our generated types and TypeScript types are in sync