Skip to content

Commit 6b6c4fd

Browse files
committed
refactor: change var to const for moduleSet to ensure immutability
1 parent 4fa5b95 commit 6b6c4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simulator/src/moduleSetup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ interface ModuleSet {
7070
}
7171

7272
export default function setupModules(): void {
73-
var moduleSet: ModuleSet = {
73+
const moduleSet: ModuleSet = {
7474
AndGate,
7575
Random,
7676
NandGate,

0 commit comments

Comments
 (0)