Closed ar-nelson closed 7 years ago
Do you mean codes like
class Foo {
async Method1() {}
}
Yes, that. Oddly enough, it works for object methods ({async foo(bar) {return baz;}}
), just not classes.
It works now, maybe I just fixed in recent commits.
The
async
keyword is currently not highlighted when it precedes a class method name. (I'm not sure if async methods are part of the official spec, but I know that Babel at least supports usingasync
in this context.)