fix: 🚨 Fix Deepsource warnings

This commit is contained in:
Jesse Wierzbinski 2025-07-07 05:08:34 +02:00
parent 2fffbcbede
commit 870b6dbe85
No known key found for this signature in database
13 changed files with 58 additions and 59 deletions

View file

@ -17,9 +17,9 @@ type MaybePromise<T> = T | Promise<T>;
* .sort();
*/
export class EntitySorter {
private handlers: EntitySorterHandlers = new Map();
private readonly handlers: EntitySorterHandlers = new Map();
public constructor(private jsonData: JSONObject) {}
public constructor(private readonly jsonData: JSONObject) {}
public on<T extends typeof Entity>(
entity: T,