#12 fix Emitter类移除监听时是否有错

This commit is contained in:
yhh
2020-07-15 10:53:30 +08:00
parent 983c8fbc99
commit 7dffb4d94a
10 changed files with 48 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ declare interface Array<T> {
* 移除数组元素
* @param element 数组元素
*/
remove(element): boolean;
remove(element: T): boolean;
/**
* 移除特定索引数组元素
* @param index 索引