TodoApp Tutorial Step 4 Question #1322
Closed
pwilson0
started this conversation in
Feature suggestions / feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm working through the Wasp "TodoApp" tutorial, and reached an error that prevented me from moving forward on this page: https://wasp-lang.dev/docs/tutorials/todo-app/04-creating-tasks
Under the "Invoking the Action on the Frontend" section, there is a try/catch within the handleSubmit function that reads as follows:
When I got to this step, the wasp server stopped hosting the page due to a compilation error because type declarations can only be used in TypeScript files. Removing the type as shown below allowed me to proceed.
Hope this helps!
Beta Was this translation helpful? Give feedback.
All reactions