Skip to content

Commit d4f2070

Browse files
committed
types: add tsd test for emitted
1 parent f03392f commit d4f2070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-dts/wrapper.d-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ expectType<{ count: number }>(incrementEvent[0])
6868

6969
// without event name
7070
let allEvents = wrapper.emitted()
71-
expectType<Record<string, unknown>>(allEvents)
71+
expectType<Record<string, unknown[]>>(allEvents)
7272

7373
// get
7474
// HTML element selector

0 commit comments

Comments
 (0)