
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’; } } ```
11 lines
218 B
JavaScript
11 lines
218 B
JavaScript
import {Promise} from 'facade/async';
|
|
//import {Document} from 'facade/dom';
|
|
|
|
/**
|
|
* Strategy to load component templates.
|
|
*/
|
|
export class TemplateLoader {
|
|
load(url:string):Promise<Document> {
|
|
return null;
|
|
}
|
|
} |