mjs and js
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user