This commit is contained in:
Olivier Gagnon
2022-07-21 01:58:47 -04:00
parent 2772511525
commit d01fd55bde
9 changed files with 4 additions and 14 deletions

View File

@@ -58,7 +58,7 @@ interface IProps {
let symbolsLoaded = false;
let symbols: string[] = [];
export function SetupTextEditor(): void {
const ns = NetscriptFunctions({} as WorkerScript);
const ns = NetscriptFunctions({ args: [] } as unknown as WorkerScript);
// Populates symbols for text editor
function populate(ns: any): string[] {