Skip to content

Commit 0ffac1a

Browse files
committed
Fix d.ts build check to not include android17/ios.dts
1 parent 6c9dc46 commit 0ffac1a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

gruntfile.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,16 +419,17 @@ module.exports = function(grunt) {
419419
},
420420
buildDts: {
421421
src: [
422-
'**/*.d.ts',
422+
'tns-core-modules/**/*.d.ts',
423423
'!org.nativescript.widgets.d.ts',
424424
'!**/*.android.d.ts',
425425
'!node_modules/**/*',
426426
'!tests/node_modules/**/*.*',
427427
'!tests/platforms/**/*.*',
428428
'!bin/**/*',
429429
'!apps/**/*',
430-
'!android17.d.ts',
431-
'!ios.d.ts',
430+
'!tns-core-modules/android17.d.ts',
431+
'!tns-core-modules/ios.d.ts',
432+
'!tns-core-modules/org.nativescript.widgets.d.ts',
432433
],
433434
outDir: localCfg.outDir,
434435
dest: localCfg.outDir,

0 commit comments

Comments
 (0)