Skip to content

Top-level value main does not have a type annotation. #120

@mhubig

Description

@mhubig

I get the following warning within VS Code:

Top-level value `main` does not have a type annotation. - I inferred the type annotation so you can copy it into your code:

main : Program Never Model Msg
~~~
main 
~~~

--Function in this file (no type signature)

If I insert the suggestion main : Program Never Model Msg the warning is gone. But I don't understand what I'm doing here ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions