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

Class UninitializedOutputComp

packages/core/test/linker/integration_spec.ts:371–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369
370 it('should display correct error message for uninitialized @Output', () => {
371 @Component({
372 selector: 'my-uninitialized-output',
373 template: '<p>It works!</p>',
374 })
375 class UninitializedOutputComp {
376 @Output() customEvent!: EventEmitter<any>;
377 }
378
379 const template =
380 '<my-uninitialized-output (customEvent)="doNothing()"></my-uninitialized-output>';

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
OutputInterface · 0.90

Tested by

no test coverage detected