Skip to content

Commit a05528f

Browse files
committed
fixup! fix(@schematics/angular): correct tsconfig.spec.json include for spec files
1 parent 51a126c commit a05528f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/schematics/angular/application/files/common-files/tsconfig.spec.json.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
]
1010
},
1111
"include": [
12+
"src/**/*.d.ts",
1213
"src/**/*<% if (standalone) { %>.spec<% } %>.ts"
1314
]
1415
}

packages/schematics/angular/library/files/tsconfig.spec.json.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
]
1010
},
1111
"include": [
12-
"src/**/*<% if (standalone) { %>.spec<% } %>.ts"
12+
"src/**/*.d.ts",
13+
"src/**/*<% if (standalone) { %>.spec<% } %>.ts"
1314
]
1415
}

0 commit comments

Comments
 (0)