@ -59,6 +59,10 @@ describe('diagnostics', () => {
|
||||
(ngHost as any)._reflector = null;
|
||||
ngService.getDiagnostics(fileName);
|
||||
});
|
||||
|
||||
// #17611
|
||||
it('should not report diagnostic on iteration of any',
|
||||
() => { accept('<div *ngFor="let value of anyValue">{{value.someField}}</div>'); });
|
||||
});
|
||||
|
||||
describe('with $event', () => {
|
||||
|
@ -148,6 +148,7 @@ export class TemplateReference {
|
||||
id: 1,
|
||||
name: 'Windstorm'
|
||||
};
|
||||
anyValue: any;
|
||||
myClick(event: any) {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user