mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 05:07:10 -05:00
Fix TS type
This commit is contained in:
parent
e7bfb73f72
commit
6cab377083
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
export class ChangeTimer {
|
export class ChangeTimer {
|
||||||
private value: number | null = null;
|
private value: number | null = null;
|
||||||
private action: (() => void) | null = null;
|
private action: (() => Promise<void>) | null = null;
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.fireImmediately = this.fireImmediately.bind(this);
|
this.fireImmediately = this.fireImmediately.bind(this);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue