From a789a3f5320886f58f3fd7a7981f9337e6496d38 Mon Sep 17 00:00:00 2001 From: Alex Rickabaugh Date: Tue, 15 Jan 2019 16:50:48 -0800 Subject: [PATCH] test(ivy): clean up two parameters in ngtsc_spec.ts inferred as 'any' (#28169) PR Close #28169 --- packages/compiler-cli/test/ngtsc/ngtsc_spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts b/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts index aa2f6aad38..13867a0b40 100644 --- a/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts +++ b/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts @@ -1794,11 +1794,11 @@ describe('ngtsc behavioral tests', () => { `); env.driveMain({ - beforeTs: [() => sourceFile => { + beforeTs: [() => (sourceFile: ts.SourceFile) => { beforeCount++; return sourceFile; }], - afterTs: [() => sourceFile => { + afterTs: [() => (sourceFile: ts.SourceFile) => { afterCount++; return sourceFile; }],