Skip to content

Commit

Permalink
chore(taro-components): CommonEventFunction 支持传入 e.detail 的类型
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k authored and luckyadam committed Apr 9, 2019
1 parent 72e9200 commit 565e7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-components/types/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export type BaseEvent = BaseEventOrig<any>

export type CommonEvent = BaseEventOrig<any>

export type CommonEventFunction = BaseEventOrigFunction<any>
export type CommonEventFunction<T = any> = BaseEventOrigFunction<T>

export interface BaseEventOrig<T> {
/**
Expand Down

0 comments on commit 565e7df

Please sign in to comment.