If you need this, make it take an arg of type (), which is just a
placeholder (0 element tuple to be precise, carries no data).

port logout : () -> Cmd msg

On Fri, Sep 16, 2016 at 7:13 AM, 'Rupert Smith' via Elm Discuss <
elm-discuss@googlegroups.com> wrote:

> port logout : Cmd msg
>
> yields:
>
> 13| port logout : Cmd msg
>     ^^^^^^^^^^^^^^^^^^^^^
> You are saying it should be:
>
>     Platform.Cmd.Cmd msg
>
> But you need to use the particular format described here:
> <http://guide.elm-lang.org/effect_managers/> Use --force to continue.
>
> But http://guide.elm-lang.org/effect_managers/ sheds no light.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to