mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 14:13:48 +01:00
fix any in NetscriptPorts
This commit is contained in:
parent
7195c1b540
commit
fbd6b1b28c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user