Skip to content

Commit 8d3e168

Browse files
committed
fix #13
1 parent 782304a commit 8d3e168

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/grid.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const drawLayout = (
3434
console.log(mapString);
3535
};
3636

37-
export const transpose = (matrix: number[][]) => {
37+
export const transpose = (matrix: number[][]): number[][] => {
3838
const maxCols = Math.max(...matrix.map((row) => row.length));
3939
const transposed: number[][] = Array.from({ length: maxCols }, () =>
4040
Array(matrix.length).fill(null),

0 commit comments

Comments
 (0)