Skip to content

Commit 77f63c0

Browse files
authored
console debug output currentSwitchName then removed local: label to deal with compilation error about unused label.
1 parent b327382 commit 77f63c0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

switchblock.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ namespace switchcase {
1313
*/
1414

1515
let switchManager: SwitchManager = new switchcase.SwitchManager();
16-
local: let currentSwitch: SwitchContext = switchManager.create("default");
17-
local: let currentSwitchName: string = "default";
16+
let currentSwitch: SwitchContext = switchManager.create("default");
17+
let currentSwitchName: string = "default";
18+
console.debug(currentSwitchName);
19+
20+
1821
/**
1922
* Switch Block Container
2023
*/

0 commit comments

Comments
 (0)