Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2796f18

Browse filesBrowse files
Jonathan MeierthePunderWoman
Jonathan Meier
authored andcommitted
test: set the noCheck TS compiler option in declaration-only emission compliance tests (#61470)
No type-checking is performed in declaration-only emission mode so we should explicitly disable it in the compliance tests. This also aligns the compiler configuration with the setup used in `packages/compiler-cli/test/ngtsc/declaration_only_emission_spec.ts`: https://github.com/angular/angular/blob/2b3c89dba228f55e90e298e6a1fca5850b7f40eb/packages/compiler-cli/test/ngtsc/declaration_only_emission_spec.ts#L31. PR Close #61470
1 parent fb0f5aa commit 2796f18
Copy full SHA for 2796f18

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎packages/compiler-cli/test/compliance/declaration-only/declaration_only_emit_spec.ts

Copy file name to clipboardExpand all lines: packages/compiler-cli/test/compliance/declaration-only/declaration_only_emit_spec.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ function emitDeclarationOnlyTest(fs: FileSystem, test: ComplianceTest): CompileR
4040
{
4141
...test.compilerOptions,
4242
emitDeclarationOnly: true,
43+
noCheck: true,
4344
},
4445
{
4546
...test.angularCompilerOptions,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.