fix: this is not allowed before super()

This commit is contained in:
lancegin 2017-06-28 21:06:14 +08:00
parent b144a14efe
commit 4e7154cc3e

View File

@ -15,8 +15,8 @@ import OTP from './otp';
* @return {OTP} * @return {OTP}
*/ */
constructor(interval=30, ...args) { constructor(interval=30, ...args) {
this.interval = interval;
super(...args); super(...args);
this.interval = interval;
} }
/* /*