Answer the question
In order to leave comments, you need to log in
Why does ES 6 scold ":" in constructor?
Dear comrades, help me deal with the problem, I've been sitting dumb for an hour and slowly starting to get psycho =).
Example :
import {Http} from 'angular2/http'
export class Test {
constructor(http: Http) {
this.http = http;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question