Skip to content

Commit 96d2073

Browse files
committed
(feat:TS) add string type to displayResult()
1 parent 9a42855 commit 96d2073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ function areYouDividingdZeroByZero(array: string[]): boolean {
311311
return false;
312312
}
313313

314-
function displayResult(array: any, outcome: any) {
314+
function displayResult(array: string[], outcome: string) {
315315
array = [];
316316
array.push(outcome);
317317
}

0 commit comments

Comments
 (0)