mirror of https://github.com/vector-im/riot-web
Add types to Timer
parent
1df0a82c64
commit
bca45a1ad4
|
@ -59,7 +59,7 @@ export default class Timer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
changeTimeout(timeout) {
|
changeTimeout(timeout: number) {
|
||||||
if (timeout === this.timeout) {
|
if (timeout === this.timeout) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue