Skip to content

Commit

Permalink
test: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
climba03003 committed Apr 12, 2024
1 parent 66a710f commit 6ce6f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eventemitter/test/compatibility.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test('node:events', async function (t) {
process.nextTick(() => {
ee.emit('once')
})
await once(ee, 'once')
await once(ee as never as NodeJS.EventEmitter, 'once')
assert.ok('checked')
})

Expand Down

0 comments on commit 6ce6f53

Please sign in to comment.