fix(ivy): fix PR collision with static: true and new test (#30666)
This fixes a collision between #30639 and #30543 where the latter added usages of @ViewChild without the static flag present, but the former made the flag required. PR Close #30666
This commit is contained in:
parent
84dd2679a9
commit
661c6e6f10
|
@ -383,7 +383,7 @@ describe('new styling integration', () => {
|
|||
map: any = {width: '111px', opacity: '0.5'};
|
||||
width: string|null = '555px';
|
||||
|
||||
@ViewChild('dir', {read: DirThatSetsStyling})
|
||||
@ViewChild('dir', {read: DirThatSetsStyling, static: true})
|
||||
dir !: DirThatSetsStyling;
|
||||
}
|
||||
|
||||
|
@ -458,7 +458,7 @@ describe('new styling integration', () => {
|
|||
|
||||
map: any = {width: '555px', height: '555px'};
|
||||
|
||||
@ViewChild('dir', {read: DirThatSetsStyling})
|
||||
@ViewChild('dir', {read: DirThatSetsStyling, static: true})
|
||||
dir !: DirThatSetsStyling;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue