Skip to content

Commit

Permalink
Cleanup types
Browse files Browse the repository at this point in the history
  • Loading branch information
piecioshka committed Nov 24, 2024
1 parent 67baa9e commit e631ae6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ export class SuperEventEmitter {

static mixin = function <T extends Record<string, any>>(
target: T
): T &
Record<keyof SuperEventEmitter, any> &
Record<keyof typeof SuperEventEmitter, any> {
): T & Record<keyof SuperEventEmitter, any> {
const emitter = new SuperEventEmitter();

for (let key in emitter) {
Expand Down

0 comments on commit e631ae6

Please sign in to comment.