Change import declaration of arg library (#962)

This commit is contained in:
catloversg 2023-12-28 14:00:12 +07:00 committed by GitHub
parent 1dac133ef4
commit 4db4b77954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

@ -1,7 +1,7 @@
import { Terminal } from "../../Terminal"; import { Terminal } from "../../Terminal";
import { BaseServer } from "../../Server/BaseServer"; import { BaseServer } from "../../Server/BaseServer";
import { matchScriptPathUnanchored } from "../../utils/helpers/scriptKey"; import { matchScriptPathUnanchored } from "../../utils/helpers/scriptKey";
import * as libarg from "arg"; import libarg from "arg";
export function ps(args: (string | number | boolean)[], server: BaseServer): void { export function ps(args: (string | number | boolean)[], server: BaseServer): void {
let flags; let flags;

@ -3,7 +3,7 @@ import { BaseServer } from "../../Server/BaseServer";
import { LogBoxEvents } from "../../ui/React/LogBoxManager"; import { LogBoxEvents } from "../../ui/React/LogBoxManager";
import { startWorkerScript } from "../../NetscriptWorker"; import { startWorkerScript } from "../../NetscriptWorker";
import { RunningScript } from "../../Script/RunningScript"; import { RunningScript } from "../../Script/RunningScript";
import * as libarg from "arg"; import libarg from "arg";
import { formatRam } from "../../ui/formatNumber"; import { formatRam } from "../../ui/formatNumber";
import { ScriptArg } from "@nsdefs"; import { ScriptArg } from "@nsdefs";
import { isPositiveInteger } from "../../types"; import { isPositiveInteger } from "../../types";

@ -7,7 +7,7 @@ import { HelpTexts } from "./HelpText";
import { compile } from "../NetscriptJSEvaluator"; import { compile } from "../NetscriptJSEvaluator";
import { Flags } from "../NetscriptFunctions/Flags"; import { Flags } from "../NetscriptFunctions/Flags";
import { AutocompleteData } from "@nsdefs"; import { AutocompleteData } from "@nsdefs";
import * as libarg from "arg"; import libarg from "arg";
import { getAllDirectories, resolveDirectory, root } from "../Paths/Directory"; import { getAllDirectories, resolveDirectory, root } from "../Paths/Directory";
import { resolveScriptFilePath } from "../Paths/ScriptFilePath"; import { resolveScriptFilePath } from "../Paths/ScriptFilePath";