hackmud-script-manager
Version:
Script manager for game hackmud, with minification, TypeScript support, and player script type definition generation.
6 lines (5 loc) • 389 B
TypeScript
import type { NodePath } from "@babel/traverse";
import type { Identifier, Program } from "@babel/types";
export declare function getReferencePathsToGlobal(name: string, program: NodePath<Program>): NodePath<Identifier>[];
export declare const includesIllegalString: (toCheck: string) => boolean;
export declare const replaceUnsafeStrings: (uniqueId: string, toReplace: string) => string;