mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-01 05:17:04 +02:00
add hoop before exposing
This commit is contained in:
@@ -1,9 +1,2 @@
|
||||
import { Terminal as TTerminal } from "./Terminal/Terminal";
|
||||
import { ReactNode } from "react";
|
||||
declare global {
|
||||
interface Window {
|
||||
tprintRaw: (node: ReactNode) => void;
|
||||
}
|
||||
}
|
||||
export const Terminal = new TTerminal();
|
||||
window["tprintRaw"] = Terminal.printRaw.bind(Terminal);
|
||||
|
||||
Reference in New Issue
Block a user