Skip to content

Commit 7eeca4a

Browse files
authored
Update switchcontext.ts export issue
Builder complains that top level objects auto-export, and to explicitly declare export for when there's more than 1 item that needs to be exported???
1 parent 4224ab9 commit 7eeca4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/switchcontext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//namespace classes {
22

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

66
addCase(match: any, handler: () => void): void {

0 commit comments

Comments
 (0)