Skip to content

Commit

Permalink
update formatting with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Oct 14, 2023
1 parent 1834c0b commit 6cce57d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Eventful.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ export function Eventful<T extends Constructor>(Base: T = Object as any) {

if (!callbacks) return

let tuple: typeof callbacks[0]
let callback: typeof callbacks[0][0]
let context: typeof callbacks[0][1]
let tuple: (typeof callbacks)[0]
let callback: (typeof callbacks)[0][0]
let context: (typeof callbacks)[0][1]

for (let i = 0, len = callbacks.length; i < len; i += 1) {
tuple = callbacks[i]
Expand Down

0 comments on commit 6cce57d

Please sign in to comment.