Gbuomprisco / ngx-chips

Tag Input component for Angular
MIT License
899 stars 361 forks source link

Incorrect type of onTextChange event emitter #1032

Open lukasmatta opened 2 years ago

lukasmatta commented 2 years ago

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.

https://github.com/Gbuomprisco/ngx-chips/blob/8e34983e49b0e595336a3c84a0e50946c98f1bdf/modules/components/tag-input/tag-input.ts#L270