mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
9 lines
212 B
JavaScript
9 lines
212 B
JavaScript
// Angular needs to always compile async functions, even if
|
|
// the targets support class fields.
|
|
// https://github.com/babel/babel/issues/14749
|
|
|
|
class A {
|
|
a = async () => this;
|
|
b = async (x, y, z) => this;
|
|
}
|