Open ashishyog opened 4 years ago
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?
We will add support for these in a future release. Currently, shift-parser-js supports only the features of ES2018.
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?