Skip to content

Commit 1102d58

Browse files
committed
style(json-type): 💄 fix linter warning
1 parent f9faf32 commit 1102d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/json-type/type/classes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2024,7 +2024,7 @@ export class MapType<T extends Type> extends AbstractType<schema.MapSchema<Schem
20242024
}
20252025

20262026
public random(): Record<string, unknown> {
2027-
let length = Math.round(Math.random() * 10);
2027+
const length = Math.round(Math.random() * 10);
20282028
const res: Record<string, unknown> = {};
20292029
for (let i = 0; i < length; i++) res[RandomJson.genString(length)] = this.type.random();
20302030
return res;

0 commit comments

Comments
 (0)