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’;
}
}
```
18 lines
457 B
JavaScript
18 lines
457 B
JavaScript
/**
|
|
* Define public API for Angular here
|
|
*/
|
|
export * from './annotations/annotations';
|
|
export * from './annotations/template_config';
|
|
|
|
export * from './application';
|
|
|
|
export * from 'change_detection/change_detector';
|
|
export * from 'change_detection/record_range';
|
|
export * from 'change_detection/record';
|
|
|
|
export * from './compiler/compiler';
|
|
export * from './compiler/template_loader';
|
|
export * from './compiler/view';
|
|
|
|
export * from 'core/dom/element';
|