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

Function fooImport

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

Source from the content-addressed store, hash-verified

547
548 describe('foreign components', () => {
549 function fooImport<TProps>(component: (props: TProps) => Node[]) {
550 return foreignImport<TProps>(
551 (props) => [component(props)],
552 () => {},
553 (producer) => producer(),
554 );
555 }
556
557 function FooComponent(props: {children?: Node[]}): Node[] {
558 return [];

Callers 1

SomeCmpClass · 0.85

Calls 2

foreignImportFunction · 0.90
producerFunction · 0.85

Tested by

no test coverage detected