fix(Dart): make some playground samples run with Dart Dev Compiler
Resolve all invalid field override errors, workaround current reflection limitations in Dart Dev Compiler. todo, hello_world and key_events samples now work with Dart Dev Compiler. BREAKING CHANGE: remove TemplateRef.elementRef setter Closes #6441
This commit is contained in:
@ -25,7 +25,7 @@ export abstract class TemplateRef {
|
||||
*
|
||||
*/
|
||||
// TODO(i): rename to anchor or location
|
||||
elementRef: ElementRef;
|
||||
get elementRef(): ElementRef { return null; }
|
||||
}
|
||||
|
||||
export class TemplateRef_ extends TemplateRef {
|
||||
|
Reference in New Issue
Block a user