NativeScript-Drop-Down
NativeScript-Drop-Down copied to clipboard
UILabel & android.widget.Spinner definition missing
This is what I got trying to run the application
node_modules/nativescript-drop-down/drop-down.d.ts(40,14): error TS2304: Cannot find name 'UILabel'.
node_modules/nativescript-drop-down/drop-down.d.ts(41,18): error TS2503: Cannot find namespace 'android'.
TypeScript compiler failed with exit code 1
I'm using
- typescript:2.2.2
- tns: 2.5.3
- tns-ios: 2.5.0
Work around for now is to change line 40 & 41 to:
ios: any;
android: any;
There other issues about this and various resolutions. Please use the search to find the workarounds.
#39