From 632fa1104ed683f2381fa7b02c6e12602012d0b2 Mon Sep 17 00:00:00 2001 From: Vishesh 'ironeagle' Bangotra Date: Fri, 28 Nov 2025 14:08:30 +0530 Subject: [PATCH] inteface because pycharm doesn't like untyped function args --- src/tictactoe/Square.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tictactoe/Square.tsx b/src/tictactoe/Square.tsx index f5016fd..8dafb64 100644 --- a/src/tictactoe/Square.tsx +++ b/src/tictactoe/Square.tsx @@ -1,4 +1,9 @@ -export default function Square({ value, onClick }) { +interface SquareProps { + value: string; + onClick: () => void; +} + +export default function Square({ value, onClick } : SquareProps) { return (