(component: (props: TProps) => Node[])
| 550 | |
| 551 | describe('foreign components', () => { |
| 552 | function fooImport<TProps>(component: (props: TProps) => Node[]) { |
| 553 | return foreignImport<TProps>( |
| 554 | (props) => [component(props)], |
| 555 | () => {}, |
| 556 | (producer) => producer(), |
| 557 | ); |
| 558 | } |
| 559 | |
| 560 | function FooComponent(props: {children?: Node[]}): Node[] { |
| 561 | return []; |
no test coverage detected