Skip to content

The events property should allow renaming similar to properties #2272

@vsavkin

Description

@vsavkin

The following should work:

@Directive({
  events: ['renamedEvent1 : event1', 'event2']  
})
class MyDirective {
  renamedEvent1: EventEmitter = new EventEmitter();
  event2: EventEmiter = new EventEmitter();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions