mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 05:01:42 +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
|
||
|
}
|