From 3bd4fc6f9a8b5ff0987576c5fcc8d256a88c9f31 Mon Sep 17 00:00:00 2001 From: Mones26 Date: Mon, 22 Jan 2024 10:41:43 -0500 Subject: [PATCH] Fixed Issue ? --- src/fib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fib.ts b/src/fib.ts index 0d292e9..5de54eb 100644 --- a/src/fib.ts +++ b/src/fib.ts @@ -1,5 +1,5 @@ // util function that computes the fibonacci numbers -export default function fibonacci(n) { +export default function fibonacci(n) : number { if (n < 0) { return -1; } else if (n == 0) {