Fix various TypeScript linting issues

This commit is contained in:
Travis Ralston 2020-07-29 11:03:43 -06:00
parent 9d124ff09b
commit 9c8682428f
4 changed files with 9 additions and 8 deletions

View file

@ -141,7 +141,7 @@ export default async function sendBugReport(bugReportEndpoint: string, opts: IOp
}
// add labs options
const enabledLabs = SettingsStore.getLabsFeatures().filter(SettingsStore.isFeatureEnabled);
const enabledLabs = SettingsStore.getLabsFeatures().filter(f => SettingsStore.isFeatureEnabled(f));
if (enabledLabs.length) {
body.append('enabled_labs', enabledLabs.join(', '));
}