SHARE
TWEET

Untitled

a guest Oct 17th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export class ParentComponent  {
  2.   private parentPrivateFunction = (x:number) => x + 1;
  3.  
  4.   parentEventEmmiter: EventEmitter<((x:number) => number )> = new EventEmitter();
  5.  
  6.   lunchNukes(){
  7.     this.parentEventEmmiter.emit(this.parentPrivateFunction);
  8.   }
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top