You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How does the constructor take effect when the bootstrapControllers is initialized?
For example, like this ok
export class App{
constructor(private name:string = "111"){
}
test(){
console.log(this.name)
console.log('test function')
}
}
const app = new App()
app.test()
The text was updated successfully, but these errors were encountered:
How does the constructor take effect when the bootstrapControllers is initialized?
For example, like this ok
export class App{
constructor(private name:string = "111"){
}
test(){
console.log(this.name)
console.log('test function')
}
}
const app = new App()
app.test()
The text was updated successfully, but these errors were encountered: