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