Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mhubig opened this issue Sep 24, 2017 · 1 comment
Open

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

mhubig opened this issue Sep 24, 2017 · 1 comment

Comments

@mhubig
Copy link

mhubig commented Sep 24, 2017

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 ...

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants