mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Merge pull request #2326 from NativeScript/hdeshev/fix-dts-build-check
Fix ts:buildDts check
This commit is contained in:
@ -419,7 +419,7 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
buildDts: {
|
buildDts: {
|
||||||
src: [
|
src: [
|
||||||
'**/*.d.ts',
|
'tns-core-modules/**/*.d.ts',
|
||||||
'!org.nativescript.widgets.d.ts',
|
'!org.nativescript.widgets.d.ts',
|
||||||
'!**/*.android.d.ts',
|
'!**/*.android.d.ts',
|
||||||
'!node_modules/**/*',
|
'!node_modules/**/*',
|
||||||
@ -427,8 +427,9 @@ module.exports = function(grunt) {
|
|||||||
'!tests/platforms/**/*.*',
|
'!tests/platforms/**/*.*',
|
||||||
'!bin/**/*',
|
'!bin/**/*',
|
||||||
'!apps/**/*',
|
'!apps/**/*',
|
||||||
'!android17.d.ts',
|
'!tns-core-modules/android17.d.ts',
|
||||||
'!ios.d.ts',
|
'!tns-core-modules/ios.d.ts',
|
||||||
|
'!tns-core-modules/org.nativescript.widgets.d.ts',
|
||||||
],
|
],
|
||||||
outDir: localCfg.outDir,
|
outDir: localCfg.outDir,
|
||||||
dest: localCfg.outDir,
|
dest: localCfg.outDir,
|
||||||
|
6
tns-core-modules/ui/frame/frame.d.ts
vendored
6
tns-core-modules/ui/frame/frame.d.ts
vendored
@ -351,7 +351,7 @@ declare module "ui/frame" {
|
|||||||
//@private
|
//@private
|
||||||
function reloadPage(): void;
|
function reloadPage(): void;
|
||||||
function resolvePageFromEntry(entry: NavigationEntry): pages.Page;
|
function resolvePageFromEntry(entry: NavigationEntry): pages.Page;
|
||||||
function setFragmentCallbacks(fragment: android.app.Fragment): void;
|
function setFragmentCallbacks(fragment: any /*android.app.Fragment*/): void;
|
||||||
function setActivityCallbacks(activity: android.app.Activity): void;
|
function setActivityCallbacks(activity: any /*android.app.Activity*/): void;
|
||||||
//@endprivate
|
//@endprivate
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user