Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwils authored May 29, 2024
1 parent e10786c commit c038c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const Nested = AddEvents<typeof _Nested, NestedEvents>(_Nested, 'eventsContainer

// Create an instance and attach event listeners
const instance = new Nested();
instance.on('eventOne', () => console.log('Ready event triggered'));
instance.on('eventOne', () => console.log('Event one triggered'));
instance.eventsContainer.eventOne.emit();
```

Expand Down

0 comments on commit c038c3c

Please sign in to comment.