mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-07 17:29:36 -05:00
Removed misleading comment from test.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user