mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 21:06:50 -05:00
fix(28516): forbid using async modifier with the abstract modifier (#39963)
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
abstract class A {
|
||||
abstract foo_a();
|
||||
|
||||
|
||||
public abstract foo_b();
|
||||
protected abstract foo_c();
|
||||
private abstract foo_d();
|
||||
|
||||
|
||||
abstract public foo_bb();
|
||||
abstract protected foo_cc();
|
||||
abstract private foo_dd();
|
||||
|
||||
|
||||
abstract static foo_d();
|
||||
|
||||
static abstract foo_e();
|
||||
}
|
||||
|
||||
abstract async foo_f();
|
||||
async abstract foo_g();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user