diff options
Diffstat (limited to 'js/repl.ts')
-rw-r--r-- | js/repl.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/repl.ts b/js/repl.ts index e521bf581..be162cb7e 100644 --- a/js/repl.ts +++ b/js/repl.ts @@ -16,12 +16,12 @@ const helpMsg = [ const replCommands = { exit: { - get() { + get(): void { exit(0); } }, help: { - get() { + get(): string { return helpMsg; } } |