Closed muelli closed 6 years ago
I'm coming from https://github.com/dillonkearns/elm-typescript-interop/issues/3 and it seems that the elm-ast package fails to parse
port module Main exposing (..) init location = let currentRoute = Routing.parseLocation location in --( initialModel currentRoute, fetchUser ) ( initialModel currentRoute, Cmd.batch [ check "yo" , fetchUser ] )
with
Err ((),{ data = "port module Main exposing (..)\n\n\ninit location =\n let\n currentRoute =\n Routing.parseLocation location\n in\n --( initialModel currentRoute, fetchUser )\n ( initialModel currentRoute, Cmd.batch\n [ check \"yo\"\n , fetchUser\n ] )\n\n", input = "init location =\n let\n currentRoute =\n Routing.parseLocation location\n in\n --( initialModel currentRoute, fetchUser )\n ( initialModel currentRoute, Cmd.batch\n [ check \"yo\"\n , fetchUser\n ] )\n\n", position = 33 },["expected end of input"])
Duplicate of #41
I'm coming from https://github.com/dillonkearns/elm-typescript-interop/issues/3 and it seems that the elm-ast package fails to parse
with