I've installed the VsCode Angular Language Service Extension and I enabled strictTemplates in my .tsconfig
.
It works almost like a charm. But I have a strange case. If you take a look at the images below, you will see that when the directive ngFor
is used, everything works fine. IntelliSense detects the type of let test
. But when using cdkVirtualFor
it just gives me the type any
back.
I tried searching for solutions online, but I didn't really find anything.