From fbc550874346d9bb26da1380547b2d23413170fe Mon Sep 17 00:00:00 2001 From: Kira Date: Thu, 22 Apr 2021 09:45:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20refactor:=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/ob.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typescript/core/ob.ts b/typescript/core/ob.ts index 54b10f8bac..50a80b8d60 100644 --- a/typescript/core/ob.ts +++ b/typescript/core/ob.ts @@ -21,9 +21,9 @@ export interface _OB { on(eventName: string, fn: Function): Function; - once(eventName: string, fn?: Function): void; + once(eventName: string, fn: Function): void; - un(eName: string, fn: Function): void; + un(eName: string, fn?: Function): void; _initRef(): void;