8 lines
142 B
TypeScript
8 lines
142 B
TypeScript
|
class A<T> {
|
||
|
static B<S>(v: A<S>): A<S>;
|
||
|
static B<S>(v: S): A<S>;
|
||
|
static B<S>(v: any): A<S> {
|
||
|
return null;
|
||
|
}
|
||
|
}
|