Gbuomprisco / ngx-chips

Tag Input component for Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect type of onTextChange event emitter

lukasmatta opened this issue · comments

Hello,
currently onTextChange event emitter has generic type TagModel (which is superset of a string type) but string on its own would be sufficient. We only emit value of text input, which is always of string type.

@Output() public onTextChange = new EventEmitter<TagModel>();