Skip to content

Commit

Permalink
Mark unread private vars as readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazerbeak12345 committed Apr 21, 2022
1 parent f8ac5ca commit 0f30a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/pixelmanipulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,15 +507,15 @@ export class PixelManipulator<T> {
.length
}

private static _moore = moore()
private static readonly _moore = moore()
/** @param name - element to look for
* @param center - location of the center of the moore area
* @returns Number of matching elements in moore radius */
mooreNearbyCounter (center: Location, search: number|string): number {
return this.totalWithin(transposeLocations(PixelManipulator._moore, center), search)
}

private static _wolfram = wolfram()
private static readonly _wolfram = wolfram()
/**
* @param current - "Current" pixel location
* @param search - element to look for
Expand Down

0 comments on commit 0f30a88

Please sign in to comment.