Skip to content

Commit cbfacac

Browse files
fix(core): wepy.d.ts 定义 type 错误
1 parent 5d72d9a commit cbfacac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/types/wepy.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export interface WepyComponent extends Base {
3535
expOrFn: (this: this) => T,
3636
callback: (this: this, n: T, o: T) => void,
3737
): (() => void);
38-
$triggerEvent(event: string, data: any, option: object): this;
38+
$trigger(event: string, data: any, option: object): this;
3939
}
4040
export interface WepyPage extends WepyComponent {
4141

0 commit comments

Comments
 (0)