Not able to access class variable inside case of switch statement in typescript

前端 未结 0 1787
无人及你
无人及你 2020-11-29 09:16
export class AnyComponent {
public myVar: any;
constructor() {}
//Value of elem is true and myVar is assigned a boolean value from api call
bindData(elem){
  switch          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题