Skip to content

Commit 300c138

Browse files
committed
add missing test fixture
1 parent 654332a commit 300c138

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/fixtures/typescript/src/test01.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ export type Emits1 = {
77
(e: 'foo' | 'bar', payload: string): void
88
(e: 'baz', payload: number): void
99
}
10+
export type Emits2 = {
11+
(e: 'click' | 'bar', payload: string): void
12+
(e: 'keydown', payload: number): void
13+
}
1014
export type Props2 = {
1115
a: string
1216
b?: number

0 commit comments

Comments
 (0)