16 lines
778 B
Text
16 lines
778 B
Text
=== tests/cases/compiler/functionOverloads6.ts ===
|
|
class foo {
|
|
>foo : Symbol(foo, Decl(functionOverloads6.ts, 0, 0))
|
|
|
|
static fnOverload();
|
|
>fnOverload : Symbol(foo.fnOverload, Decl(functionOverloads6.ts, 0, 11), Decl(functionOverloads6.ts, 1, 23), Decl(functionOverloads6.ts, 2, 33))
|
|
|
|
static fnOverload(foo:string);
|
|
>fnOverload : Symbol(foo.fnOverload, Decl(functionOverloads6.ts, 0, 11), Decl(functionOverloads6.ts, 1, 23), Decl(functionOverloads6.ts, 2, 33))
|
|
>foo : Symbol(foo, Decl(functionOverloads6.ts, 2, 21))
|
|
|
|
static fnOverload(foo?: any){ }
|
|
>fnOverload : Symbol(foo.fnOverload, Decl(functionOverloads6.ts, 0, 11), Decl(functionOverloads6.ts, 1, 23), Decl(functionOverloads6.ts, 2, 33))
|
|
>foo : Symbol(foo, Decl(functionOverloads6.ts, 3, 21))
|
|
}
|
|
|