// @strict: true
// @noEmit: true
// @jsx: preserve
///
// repro from #53493
import React = require('react');
export type Props =
| { renderNumber?: false; children: (arg: string) => void }
| {
renderNumber: true;
children: (arg: number) => void;
};
export declare function Foo(props: Props): JSX.Element;
export const Test = () => {
return (
<>
{(value) => {}}
{(value) => {}}
{}} />
{}} />
>
);
};