Skip to content

Fixed datatype issues from fib.ts in the fibonacci function - #3

Merged
DikaSy merged 1 commit into
mainfrom
fix-fib
Aug 31, 2026
Merged

DikaSy merged 1 commit into
mainfrom
fix-fib

Conversation

@DikaSy

@DikaSy DikaSy commented Aug 31, 2026 •

Copy link
Copy Markdown
Owner

Fixes #2. Changed line 1 to specify the types of the returned output of the fibonacci function and the parameter it takes, n, to "number" type. Tested using "npm run lint" (requires "npm install").

@DikaSy
DikaSy requested a review from Ravin-Kumar August 31, 2026 06:31

@Ravin-Kumar Ravin-Kumar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@DikaSy
DikaSy merged commit f820f25 into main Aug 31, 2026
1 check failed
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.

fib.ts tests failed

2 participants