diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-01-09 01:17:44 +1100 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2020-01-08 09:17:44 -0500 |
commit | d325566a7e2d736870990835dfe076a30a1b26ab (patch) | |
tree | fed5de4826b04140922c2573bdad2e8c6fd2445e /cli/js/unit_test_runner.ts | |
parent | cbdf9c50095b86e72a8e0e715a02f6eb327f7c53 (diff) |
Runtime Compiler API (#3442)
Also restructures the compiler TypeScript files to make them easier to
manage and eventually integrate deno_typescript fully.
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, |