mirror of
https://github.com/LanceGin/jsotp.git
synced 2024-10-06 06:22:08 +08:00
fix: this is not allowed before super()
This commit is contained in:
parent
b144a14efe
commit
4e7154cc3e
@ -15,8 +15,8 @@ import OTP from './otp';
|
||||
* @return {OTP}
|
||||
*/
|
||||
constructor(interval=30, ...args) {
|
||||
this.interval = interval;
|
||||
super(...args);
|
||||
this.interval = interval;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user