From b865b064d1533d319217f21486e0695b4449da15 Mon Sep 17 00:00:00 2001 From: Sabrina Mack Date: Sat, 22 Jun 2024 17:26:39 -0700 Subject: [PATCH] test: fix type error on older versions of angular --- tests/issue-8884/test.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/issue-8884/test.spec.ts b/tests/issue-8884/test.spec.ts index 12d2171461..6ff736f38f 100644 --- a/tests/issue-8884/test.spec.ts +++ b/tests/issue-8884/test.spec.ts @@ -23,11 +23,11 @@ describe('issue-8884', () => { describe('when standalone component does not import NgIf', () => { @Component({ selector: 'app-standalone', - standalone: true, + ['standalone' as never]: true, template: ``, }) class StandaloneComponent { - @ContentChild('content') + @ContentChild('content', {} as never) content?: TemplateRef; } @@ -46,7 +46,7 @@ describe('issue-8884', () => { template: ``, }) class TargetComponent { - @ContentChild('content') + @ContentChild('content', {} as never) content?: TemplateRef; }