From fa1c1433dbf045db61caf1f1085595e0a9067877 Mon Sep 17 00:00:00 2001 From: PeachScript Date: Fri, 25 Aug 2023 10:03:47 +0800 Subject: [PATCH] chore: update example --- examples/normal/src/Foo/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/normal/src/Foo/index.tsx b/examples/normal/src/Foo/index.tsx index a98bad9848..eafa7fbd4a 100644 --- a/examples/normal/src/Foo/index.tsx +++ b/examples/normal/src/Foo/index.tsx @@ -24,6 +24,8 @@ const Foo: FC<{ children: React.ReactNode; onConfirm: (output: { children: any[] }) => void; dom: HTMLElement; + // eslint-disable-next-line @typescript-eslint/ban-types + func: Function; }> = (props) => { return <>{props.title}; };