PeterStaev / NativeScript-Drop-Down

A NativeScript DropDown widget.
Apache License 2.0
105 stars 65 forks source link

Address Typings error when creating a new ValueList #210

Closed JoshDSommer closed 5 years ago

JoshDSommer commented 5 years ago

I've been getting a typing error when creating value lists with version 5.0+. Typescript has been complaining that the ValueList doesn't take any parameters for the constructor even though the code works fine. By adding the items value item to the constructor it addresses this issue.

I believe this should resolve some if not all of the issues reported in #205

PeterStaev commented 5 years ago

Thanks! The new version on npm (5.0.2) has this change added.