The bug that @babel/parser
cannot parse auto accessors with type annotations has been fixed. So we now support it via babel-ts
parser.
class Foo {
accessor prop: number;
}
The bug that @babel/parser
cannot parse auto accessors with type annotations has been fixed. So we now support it via babel-ts
parser.
class Foo {
accessor prop: number;
}