make ScriptInterface.scriptsAllowed readonly
This commit is contained in:
parent
220a46270e
commit
6c1ba181c2
|
@ -31,7 +31,7 @@ export class WordleLibrary {
|
||||||
|
|
||||||
export class ScriptInterface {
|
export class ScriptInterface {
|
||||||
readonly gameState: GameState = new GameState();
|
readonly gameState: GameState = new GameState();
|
||||||
scriptsAllowed: {(): boolean} = () => scriptsAllowed;
|
readonly scriptsAllowed: {(): boolean} = () => scriptsAllowed;
|
||||||
readonly lib: WordleLibrary = new WordleLibrary();
|
readonly lib: WordleLibrary = new WordleLibrary();
|
||||||
}
|
}
|
||||||
globalThis.ScriptInterface = new ScriptInterface();
|
globalThis.ScriptInterface = new ScriptInterface();
|
||||||
|
|
Loading…
Reference in New Issue