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

Challenge completed #77

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

realsurd
Copy link

Algorand Coding Challenge Submission

What was the bug?
A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value.
solveThePuzzle(): string

The bug was due to a return type issue. The solveThePuzzle method was declared with a return type of string, but it did not actually return any string.

How did you fix the bug?

  1. After launching the code, I ran "npm run test" and got the above error
  2. According to the Read.me file, I uncommented line 8 and ran npm run test again, and got a passing, I will attach a screenshot of my terminal.

Console Screenshot:

@iskysun96
Copy link
Contributor

how did you set up your dev environment? Did you use a specific algokit command? 👀

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

Successfully merging this pull request may close these issues.

2 participants