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