mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This used to be valid code:
```
class Foo {
constructor() {
this.bar = ‘string’;
}
}
```
This will now fail since ‘bar’ is not explicitly
defined as a field. We now have to write:
```
class Foo {
bar:string; // << REQUIRED
constructor() {
this.bar = ‘string’;
}
}
```
|
||
|---|---|---|
| .. | ||
| async.dart | ||
| async.es6 | ||
| collection.dart | ||
| collection.es6 | ||
| dom.dart | ||
| dom.es6 | ||
| lang.dart | ||
| lang.es6 | ||
| math.dart | ||
| math.es6 | ||