mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +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
|
|
} |