mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
UI: Add option to autosave scripts on focus change (#2565)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// To avoid cyclic dependencies, this file should have as few imports as possible.
|
||||
|
||||
import type { ContentFilePath } from "../Paths/ContentFile";
|
||||
import { EventEmitter } from "../utils/EventEmitter";
|
||||
import type { OpenScript } from "./ui/OpenScript";
|
||||
|
||||
export const openScripts: OpenScript[] = [];
|
||||
|
||||
export const EditorEvents = new EventEmitter<[hostname: string, filePath: ContentFilePath]>();
|
||||
Reference in New Issue
Block a user