When trying to compile, I get error TS2304: Cannot find name 'NSData'
Trying to run the demo app from the NativeScript Playground and running into missing ios.d types. I can see the specifications in node_modules\tns-platform-declarations\ios\objc-x86_64, but maybe there is a missing reference?
Here is my sample app I am trying to run. https://github.com/Stardock-AI/ImagePicker-httpUpload
Here is the original Playground app. I upgraded the file-system libraries to include the lastest NS 6.1 libs.

https://play.nativescript.org/?template=play-ng&id=pmXu7c&v=15
Closed by https://github.com/Stardock-AI/ImagePicker-httpUpload/pull/1
Thank you Eddy! You are the best!!
I have the same issue. what was the solution?
What is the solution to this error? Above link gives 404 error.
Declaring a variable as "declare var NSData: any;" helps building the application without above error. It is like tricking typescript to compile successfully.