From ceed844523c5105b798e5beb282ad6365890861f Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Mon, 18 Jul 2022 03:13:31 -0400 Subject: [PATCH] fix any in Console --- src/Bladeburner/ui/Console.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bladeburner/ui/Console.tsx b/src/Bladeburner/ui/Console.tsx index c0600a4e3..8a6a82935 100644 --- a/src/Bladeburner/ui/Console.tsx +++ b/src/Bladeburner/ui/Console.tsx @@ -14,7 +14,7 @@ import makeStyles from "@mui/styles/makeStyles"; import createStyles from "@mui/styles/createStyles"; interface ILineProps { - content: any; + content: React.ReactNode; } const useStyles = makeStyles((theme: Theme) => @@ -197,7 +197,7 @@ function Logs({ entries }: ILogProps): React.ReactElement { return ( - {entries && entries.map((log: any, i: number) => )} + {entries && entries.map((log: string, i: number) => )} ); }