From 3c882c44b5aba1ae397a2b89f99f4cdb82fbbbfa Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 10 Dec 2017 23:02:00 +0100 Subject: fix problems found by newer TypeScript compiler --- src/webex/pages/auditors.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/webex/pages/auditors.tsx') diff --git a/src/webex/pages/auditors.tsx b/src/webex/pages/auditors.tsx index 8850cdd87..9d57218ad 100644 --- a/src/webex/pages/auditors.tsx +++ b/src/webex/pages/auditors.tsx @@ -39,9 +39,9 @@ interface CurrencyListState { currencies?: CurrencyRecord[]; } -class CurrencyList extends React.Component { - constructor() { - super(); +class CurrencyList extends React.Component<{}, CurrencyListState> { + constructor(props: {}) { + super(props); const port = chrome.runtime.connect(); port.onMessage.addListener((msg: any) => { if (msg.notify) { -- cgit v1.2.3