NativeScript-Drop-Down icon indicating copy to clipboard operation
NativeScript-Drop-Down copied to clipboard

UILabel & android.widget.Spinner definition missing

Open rezonjov opened this issue 9 years ago • 2 comments

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;

rezonjov avatar Apr 07 '17 10:04 rezonjov

There other issues about this and various resolutions. Please use the search to find the workarounds.

PeterStaev avatar Apr 07 '17 10:04 PeterStaev

#39

yezarela avatar Apr 28 '17 07:04 yezarela