diff --git a/gruntfile.js b/gruntfile.js index 01f2c5d64..34491d161 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -419,7 +419,7 @@ module.exports = function(grunt) { }, buildDts: { src: [ - '**/*.d.ts', + 'tns-core-modules/**/*.d.ts', '!org.nativescript.widgets.d.ts', '!**/*.android.d.ts', '!node_modules/**/*', @@ -427,8 +427,9 @@ module.exports = function(grunt) { '!tests/platforms/**/*.*', '!bin/**/*', '!apps/**/*', - '!android17.d.ts', - '!ios.d.ts', + '!tns-core-modules/android17.d.ts', + '!tns-core-modules/ios.d.ts', + '!tns-core-modules/org.nativescript.widgets.d.ts', ], outDir: localCfg.outDir, dest: localCfg.outDir, diff --git a/tns-core-modules/ui/frame/frame.d.ts b/tns-core-modules/ui/frame/frame.d.ts index f9955b7a3..0c5bf36f5 100644 --- a/tns-core-modules/ui/frame/frame.d.ts +++ b/tns-core-modules/ui/frame/frame.d.ts @@ -351,7 +351,7 @@ declare module "ui/frame" { //@private function reloadPage(): void; function resolvePageFromEntry(entry: NavigationEntry): pages.Page; - function setFragmentCallbacks(fragment: android.app.Fragment): void; - function setActivityCallbacks(activity: android.app.Activity): void; + function setFragmentCallbacks(fragment: any /*android.app.Fragment*/): void; + function setActivityCallbacks(activity: any /*android.app.Activity*/): void; //@endprivate -} \ No newline at end of file +}