Parser starts giving error "Only methods are allowed in class". For below example: class Rectangle { height; width; constructor(height, width) { this.height = height; this.width = width; } } any idea how could we support this?
Parser starts giving error "Only methods are allowed in class".
For below example:
class Rectangle {
height;
width;
constructor(height, width) {
this.height = height;
this.width = width;
}
}
any idea how could we support this?