Skip to content

Commit

Permalink
Export InlineSwitch class in switch.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
shtse8 committed Mar 22, 2024
1 parent 0707723 commit fbfc262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/switch.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class InlineSwitch<T, R = never, E = undefined> {
export class InlineSwitch<T, R = never, E = undefined> {
private cases = new Map<T, () => any>();
private defaultCase?: () => any;

Expand Down

0 comments on commit fbfc262

Please sign in to comment.