Skip to content

Commit

Permalink
fixed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
G4mingJon4s committed Jan 10, 2025
1 parent c3f84e0 commit 4676596
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/codingcontracttypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -999,8 +999,8 @@ export const CodingContractDefinitions: CodingContractDefinitions<CodingContract
const dstX = width - 1;
const minPathLength = dstY + dstX; // Math.abs(dstY - srcY) + Math.abs(dstX - srcX)

const grid: (1 | 0)[][] = new Array(height);
for (let y = 0; y < height; y++) grid[y] = new Array(width).fill(0);
const grid: (1 | 0)[][] = new Array<(1 | 0)[]>(height);
for (let y = 0; y < height; y++) grid[y] = new Array<1 | 0>(width).fill(0);

for (let y = 0; y < height; y++) {
for (let x = 0; x < width; x++) {
Expand Down

0 comments on commit 4676596

Please sign in to comment.