mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
fix any in NetscriptPorts
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { Settings } from "./Settings/Settings";
|
||||
|
||||
export interface IPort {
|
||||
write: (value: any) => any;
|
||||
tryWrite: (value: any) => boolean;
|
||||
read: () => any;
|
||||
peek: () => any;
|
||||
write: (value: unknown) => unknown;
|
||||
tryWrite: (value: unknown) => boolean;
|
||||
read: () => unknown;
|
||||
peek: () => unknown;
|
||||
full: () => boolean;
|
||||
empty: () => boolean;
|
||||
clear: () => void;
|
||||
|
||||
Reference in New Issue
Block a user