declare the types

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-09-02 12:25:16 +02:00
parent edb94bc8ed
commit 254677eaf6
@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import Box from '@material-ui/core/Box';
import IconButton from '@material-ui/core/IconButton';
import CopyIcon from '@material-ui/icons/FileCopy';
@@ -69,7 +70,7 @@ export function RealLogViewer(props: RealLogViewerProps) {
return (
<AutoSizer>
{({ height, width }) => (
{({ height, width }: { height?: number; width?: number }) => (
<Box style={{ width, height }} className={classes.root}>
<Box className={classes.header}>
<LogViewerControls {...search} />