mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
19 lines
242 B
TypeScript
19 lines
242 B
TypeScript
class C {
|
|
foo();
|
|
static foo(); // error
|
|
}
|
|
|
|
class D {
|
|
static foo();
|
|
foo(); // error
|
|
}
|
|
|
|
class E<T> {
|
|
foo(x: T);
|
|
static foo(x: number); // error
|
|
}
|
|
|
|
class F<T> {
|
|
static foo(x: number);
|
|
foo(x: T); // error
|
|
} |