From f6974fc754df2a9925b54f88d800cade879a5cac Mon Sep 17 00:00:00 2001 From: eps1lon Date: Mon, 11 Apr 2022 19:51:41 +0200 Subject: [PATCH 1/2] test(types): Don't assume implicit children --- types/test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/types/test.tsx b/types/test.tsx index eae6e81f..eee15ea6 100644 --- a/types/test.tsx +++ b/types/test.tsx @@ -129,6 +129,7 @@ export function wrappedRenderC( options?: pure.RenderOptions, ) { interface AppWrapperProps { + children?: React.ReactNode; userProviderProps?: {user: string} } const AppWrapperProps: React.FunctionComponent = ({ From 7859096c6c0f77a06c5e2303b1d514a879734763 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Mon, 11 Apr 2022 19:54:22 +0200 Subject: [PATCH 2/2] format --- types/test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/test.tsx b/types/test.tsx index eee15ea6..a8a7c7ae 100644 --- a/types/test.tsx +++ b/types/test.tsx @@ -129,7 +129,7 @@ export function wrappedRenderC( options?: pure.RenderOptions, ) { interface AppWrapperProps { - children?: React.ReactNode; + children?: React.ReactNode userProviderProps?: {user: string} } const AppWrapperProps: React.FunctionComponent = ({