diff options
Diffstat (limited to 'cli/js/unit_test_runner.ts')
-rwxr-xr-x | cli/js/unit_test_runner.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/js/unit_test_runner.ts b/cli/js/unit_test_runner.ts index c2c654696..dd095058f 100755 --- a/cli/js/unit_test_runner.ts +++ b/cli/js/unit_test_runner.ts @@ -9,14 +9,14 @@ import { interface TestResult { perms: string; - output: string; + output?: string; result: number; } function permsToCliFlags(perms: Permissions): string[] { return Object.keys(perms) - .map((key): string => { - if (!perms[key]) return ""; + .map(key => { + if (!perms[key as keyof Permissions]) return ""; const cliFlag = key.replace( /\.?([A-Z])/g, |