From fbd6b1b28cdb82193fe0856d1bcd31b0dee21fbb Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Mon, 18 Jul 2022 03:09:19 -0400 Subject: [PATCH] fix any in NetscriptPorts --- src/NetscriptPort.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/NetscriptPort.ts b/src/NetscriptPort.ts index dbd707d66..b26614f69 100644 --- a/src/NetscriptPort.ts +++ b/src/NetscriptPort.ts @@ -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;