Skip to content

Commit 83cf59e

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] ESLint manual fixes: error 'map' will use Object's default stringification format ('[object Object]') when stringified @typescript-eslint/no-base-to-string
1 parent e128b70 commit 83cf59e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hackerrank/implementation/migratoryBirds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function migratoryBirds(arr: number[]): number {
3030
max = bird;
3131
}
3232

33-
console.debug(`map: ${map.toString()}`);
33+
console.debug(`map: ${JSON.stringify(map)}`);
3434

3535
return max;
3636
}

0 commit comments

Comments
 (0)