diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-10 23:02:00 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-10 23:02:00 +0100 |
commit | 3c882c44b5aba1ae397a2b89f99f4cdb82fbbbfa (patch) | |
tree | 842d51eb84dcc48ed4240c27551c973bd369ef6d /src/webex/pages/payback.tsx | |
parent | 0469abd4a9c9270a1fdc962969e36e63699af8b4 (diff) | |
download | wallet-core-3c882c44b5aba1ae397a2b89f99f4cdb82fbbbfa.tar.xz |
fix problems found by newer TypeScript compiler
Diffstat (limited to 'src/webex/pages/payback.tsx')
-rw-r--r-- | src/webex/pages/payback.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webex/pages/payback.tsx b/src/webex/pages/payback.tsx index c2a092460..a380a33d0 100644 --- a/src/webex/pages/payback.tsx +++ b/src/webex/pages/payback.tsx @@ -38,10 +38,10 @@ import { import * as React from "react"; import * as ReactDOM from "react-dom"; -class Payback extends ImplicitStateComponent<any> { +class Payback extends ImplicitStateComponent<{}> { private reserves: StateHolder<ReserveRecord[]|null> = this.makeState(null); - constructor() { - super(); + constructor(props: {}) { + super(props); const port = chrome.runtime.connect(); port.onMessage.addListener((msg: any) => { if (msg.notify) { |