Correct the declaration emit for overload implementation if there is single overload signature

Fixes  #480
This commit is contained in:
Sheetal Nandi committed 2014-08-22 13:24:57 -07:00
1 parent 92e3202604
commit 519ef5b383
4 files changed
+41 -1

No files matched your search

@@ -23,6 +23,11 @@ export function fooWithOverloads(a: any): any {
return a;
}
export function fooWithSingleOverload(a: string): string;
export function fooWithSingleOverload(a: any) {
return a;
}
/** This comment should appear for nonExportedFoo*/
function nonExportedFoo() {
}