diff --git a/test/production/typescript-basic/app/pages/index.tsx b/test/production/typescript-basic/app/pages/index.tsx index 94e197abd4557f5..b1654161f60b157 100644 --- a/test/production/typescript-basic/app/pages/index.tsx +++ b/test/production/typescript-basic/app/pages/index.tsx @@ -12,7 +12,23 @@ export default function Page() { return ( <>

hello world

- to /another + { + console.log(e.currentTarget) + }} + > + to /another + + {/** @ts-expect-error - foo does not exist on React.MouseEvent */} + { + console.log(e.foo) + }} + > + to /another + ) }