UNPKG
@thatcompany/ts-tool
Version:
latest (0.0.13)
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
基于TypeScript编写的工具库
ts-tool.docs.thatcoder.cn
ThatCoders/ts-tool
@thatcompany/ts-tool
/
lib
/
modules
/
reflector
/
annotation
/
Event.d.ts
9 lines
(8 loc)
•
382 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/** * 方法注解,用于标记一个方法为事件监听器 * 打上Reflect后方法原封不动 *
@param
id 事件监听器的唯一标识符 默认生成一个UUID *
@param
sort 事件监听器的排序,用于控制事件监听器的执行顺序,数字越小越先执行 *
@constructor
*/
export
declare
function
EventListener
(
id
?:
string
,
sort
?:
number
):
Function
;