Skip to content

Commit d5179b7

Browse files
authored
Merge branch 'main' into seriussoft-patch-4
2 parents aabce8b + 971852e commit d5179b7

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

classes/switchcontext.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
//namespace classes {
21

3-
class SwitchContext {
2+
3+
export class SwitchContext {
44
private Cases: { Match: any, Handler: () => void, IsDefault?: boolean }[] = [];
55

66
addCase(match: any, handler: () => void): void {
@@ -132,4 +132,4 @@ class SwitchContext {
132132
*/
133133
}
134134

135-
//}
135+

classes/switchmanager.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { SwitchContext } from "../classes/switchcontext"
1+
import { SwitchContext } from "./switchcontext";
22

3-
//namespace classes {
43

54
class SwitchManager {
65
private Switches: { [Name: string]: SwitchContext } = {};
@@ -30,5 +29,5 @@ class SwitchManager {
3029
*/
3130

3231
}
33-
//}
32+
3433

0 commit comments

Comments
 (0)