Skip to content

Commit

Permalink
fix(core): wepy.d.ts 定义 type 错误
Browse files Browse the repository at this point in the history
  • Loading branch information
nishino-tsukasa committed Mar 20, 2020
1 parent 5d72d9a commit cbfacac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/types/wepy.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface WepyComponent extends Base {
expOrFn: (this: this) => T,
callback: (this: this, n: T, o: T) => void,
): (() => void);
$triggerEvent(event: string, data: any, option: object): this;
$trigger(event: string, data: any, option: object): this;
}
export interface WepyPage extends WepyComponent {

Expand Down

0 comments on commit cbfacac

Please sign in to comment.