这可能吗 ?
我目前拥有的和有效的:
module app.typescriptdemoview {
export class InitializeAutoComplete {
constructor(... _inputIds: string[]) {
// Initialize _inputIds as a member variable ..
}
}
}
我想达到的目标:
module app.typescriptdemoview {
export class InitializeAutoComplete {
constructor(private ... _inputIds: string[]) { // Automatic member var. initialization
}
}
}