Skip to content

Commit

Permalink
fix: 修复 unbind 解绑所有类型错误
Browse files Browse the repository at this point in the history
hotkeys.unbind() 抛出异常。
  • Loading branch information
xjh22222228 authored and jaywcjlove committed Jan 19, 2021
1 parent 7a4662e commit 9334891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -37,7 +37,7 @@ interface Hotkeys {

noConflict(): void

unbind(key: string): void
unbind(key?: string): void
unbind(key: string, scopeName: string): void
unbind(key: string, scopeName: string, method: KeyHandler): void
unbind(key: string, method: KeyHandler): void
Expand Down

0 comments on commit 9334891

Please sign in to comment.