chore: fix lint issues

This commit is contained in:
chenjiahan
2020-08-21 17:45:51 +08:00
parent 9754a80597
commit 58650aeb9b
9 changed files with 345 additions and 248 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ type BindEventMixinThis = {
binded: boolean;
};
type BindEventHandler = (bind: Function, isBind: boolean) => void;
type BindEventHandler = (bind: typeof on | typeof off, isBind: boolean) => void;
export function BindEventMixin(handler: BindEventHandler) {
function bind(this: BindEventMixinThis) {