Merge pull request #2326 from NativeScript/hdeshev/fix-dts-build-check

Fix ts:buildDts check
This commit is contained in:
Hristo Deshev
2016-06-16 13:21:11 +03:00
committed by GitHub
2 changed files with 7 additions and 6 deletions

View File

@ -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,

View File

@ -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
}
}