diff options
Diffstat (limited to 'extension/background/emscriptif.ts')
-rw-r--r-- | extension/background/emscriptif.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/background/emscriptif.ts b/extension/background/emscriptif.ts index bf2f43c9b..150b68741 100644 --- a/extension/background/emscriptif.ts +++ b/extension/background/emscriptif.ts @@ -517,9 +517,9 @@ abstract class SignatureStruct { abstract purpose(): SignaturePurpose; private members: any = {}; - constructor(x: any) { + constructor(x: { [name: string]: any }) { for (let k in x) { - this.set(x, x[k]); + this.set(k, x[k]); } } |