MCPcopy Create free account
hub / github.com/angular/angular / fooImport

Function fooImport

packages/core/test/render3/ivy/jit_spec.ts:552–558  ·  view source on GitHub ↗
(component: (props: TProps) => Node[])

Source from the content-addressed store, hash-verified

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 [];

Callers 1

SomeCmpClass · 0.85

Calls 2

foreignImportFunction · 0.90
producerFunction · 0.85

Tested by

no test coverage detected