mjs and js

This commit is contained in:
Daniel Imms
2024-07-05 11:48:42 -07:00
parent 40c5fbf0cb
commit 057abba08b
18 changed files with 56 additions and 20 deletions
+15 -4
View File
@@ -5,8 +5,19 @@
// This file contains strings that get exported in the API so they can be localized
// eslint-disable-next-line prefer-const
export let promptLabel = 'Terminal input';
let promptLabelInternal = 'Terminal input';
const promptLabel = {
get: () => promptLabelInternal,
set: (value: string) => promptLabelInternal = value
};
// eslint-disable-next-line prefer-const
export let tooMuchOutput = 'Too much output to announce, navigate to rows manually to read';
let tooMuchOutputInternal = 'Too much output to announce, navigate to rows manually to read';
const tooMuchOutput = {
get: () => tooMuchOutputInternal,
set: (value: string) => tooMuchOutputInternal = value
};
export {
promptLabel,
tooMuchOutput
};