mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 11:54:44 -06:00
Removed misleading comment from test.
This commit is contained in:
parent
dc2af2fb7f
commit
e1004fac60
@ -6,7 +6,7 @@ class C extends A {
|
||||
}
|
||||
function foo(name: 'hi'): B;
|
||||
function foo(name: 'bye'): C;
|
||||
function foo(name: string): A; // error
|
||||
function foo(name: string): A;
|
||||
function foo(name: any): Z {
|
||||
return null;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user