From 3325d6358a89563921f9e65ba5ab3391bc0b98f3 Mon Sep 17 00:00:00 2001 From: Layton Whiteley Date: Sat, 6 Jan 2024 04:04:26 +0100 Subject: [PATCH] build: make ts more strict --- examples/typescript-001/src/app/app.tsx | 2 +- tsconfig.base.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/typescript-001/src/app/app.tsx b/examples/typescript-001/src/app/app.tsx index d04aeab..be0ac0d 100644 --- a/examples/typescript-001/src/app/app.tsx +++ b/examples/typescript-001/src/app/app.tsx @@ -20,7 +20,7 @@ export default function App() { change {history.index + 1} / {history.nodes.length} | - {getCurrentChangeDate().toISOString()} + {getCurrentChangeDate()?.toISOString()}