You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
declarations.*.d.ts files missing from published package #2095
I'm just trying out the newly published platform declarations d.ts files. But using tns-core-modules and tns-platform-declarations packages I still face problems compiling correctly code that uses interop for iOS for example. From what I see that is defined in the declarations.ios.d.ts file which is missing from both packages. I guess that there will be problems when you use something specific from the android specific file as well. Thus I think those files should be published as part of either tns-core-modules or tns-platform-declarations packages
Could you provide some more details about the missing declarations.*.d.ts files? I thought that you are looking for ios.d.ts and android17.d.ts files, but maybe I am wrong.
Activity
tsonevn commentedon Aug 8, 2016
Hi @PeterStaev,
Do you still have problem, while using
declarations.*.d.tsfiles?Regards,
@tsonevn
PeterStaev commentedon Aug 9, 2016
Hey @tsonevn ,
Where were the declarations added? I've just downloaded from npm the platform declaration module and the core modules and they are still missing.
tsonevn commentedon Aug 9, 2016
Hi @PeterStaev ,
You should have
tns-platform -declarationsfolder inside thenode_modulesfolder. There you could finddeclarations.*.d.tsfiles.Regards,
@tsonevn
PeterStaev commentedon Aug 9, 2016
Hey @tsonevn , this what i see:

tsonevn commentedon Aug 9, 2016
Hi @PeterStaev,
Excuse me for misunderstanding your question,
Could you provide some more details about the missing
declarations.*.d.tsfiles? I thought that you are looking for ios.d.ts and android17.d.ts files, but maybe I am wrong.Regards,
@tsonevn
PeterStaev commentedon Aug 9, 2016
@tsonevn , I'm talking about these two files:
Android:
https://github.com/NativeScript/NativeScript/blob/master/tns-core-modules/declarations.android.d.ts
iOS:
https://github.com/NativeScript/NativeScript/blob/master/tns-core-modules/declarations.ios.d.ts
PanayotCankov commentedon Apr 28, 2017
Hi,
iOS: https://github.com/NativeScript/NativeScript/blob/master/tns-platform-declarations/ios/interop.d.ts
Android: https://github.com/NativeScript/NativeScript/blob/master/tns-platform-declarations/android/declarations.d.ts
They are both referenced in the:
https://github.com/NativeScript/NativeScript/blob/master/tns-platform-declarations/ios.d.ts
and
https://github.com/NativeScript/NativeScript/blob/master/tns-platform-declarations/android.d.ts
Please if we are missing something open a new issue, this one is getting rather old.
PeterStaev commentedon Apr 28, 2017
@PanayotCankov , agreed. With the 3.0 definitions I had no problems with the definitions so far!
lock commentedon Aug 28, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.