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
+1 -1
View File
@@ -15,8 +15,8 @@ import OTP from './otp';
* @return {OTP}
*/
constructor(interval=30, ...args) {
this.interval = interval;
super(...args);
this.interval = interval;
}
/*