I'm submitting a bug report
The documentation seems broken at this point . A user that does not know Typescript might not understand.
Please tell us about your environment:
Operating System:
Windows 10
Browser:
Firefox 67.04 (64bit)
Language:
ESNext
Current behavior:
Example for "Configuring a Collection Observer" in EsNext imports via autoinject and uses typescipt in constructor.
import {BindingEngine, autoinject} from 'aurelia-framework';
@inject(BindingEngine)
export class App {
myCollection = ["foo"];
constructor(private bindingEngine) {
let subscription = this.bindingEngine.collectionObserver(this.myCollection)
.subscribe(this.collectionChanged.bind(this));
}
collectionChanged(splices) {
// This will fire any time the collection is modified.
}
}
I'm submitting a bug report The documentation seems broken at this point . A user that does not know Typescript might not understand.
Please tell us about your environment:
Operating System: Windows 10
Browser: Firefox 67.04 (64bit)
Language: ESNext
Current behavior: Example for "Configuring a Collection Observer" in EsNext imports via autoinject and uses typescipt in constructor.
See
Expected/desired behavior: