Prepare for TypeScript 3.7

Summary:
These are the only four errors currently happening when upgrading to the 3.7 beta.
Luckily, these are all forwards-compatible changes.

Reviewed By: jknoxville

Differential Revision: D17711797

fbshipit-source-id: 429036e90300c81848cc3252b67bb89871ff2e32
This commit is contained in:
Pascal Hartig
2019-10-02 08:34:30 -07:00
committed by Facebook Github Bot
parent 52976f1ee3
commit 1de1bbaf8a
4 changed files with 8 additions and 8 deletions

View File

@@ -391,9 +391,9 @@ export default class CPUFrequencyTable extends FlipperDevicePlugin<
});
};
teardown = () => {
teardown() {
this.cleanup();
};
}
buildRow = (freq: CPUFrequency, idx: number) => {
const selected = this.state.selectedIds.indexOf(idx) >= 0;