mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
23 lines
467 B
Diff
23 lines
467 B
Diff
--- old.jsFileMethodOverloads4.js
|
|
+++ new.jsFileMethodOverloads4.js
|
|
@@= skipped -26, +26 lines =@@
|
|
|
|
|
|
//// [a.d.ts]
|
|
-export function Foo(): void;
|
|
-export class Foo {
|
|
- /**
|
|
- * @overload
|
|
- * @param {string} a
|
|
- * @return {void}
|
|
- */
|
|
- bar(a: string): void;
|
|
- /**
|
|
- * @overload
|
|
- * @param {number} a
|
|
- * @param {string} b
|
|
- * @return {void}
|
|
- */
|
|
- bar(a: number, b: string): void;
|
|
-}
|
|
+export declare function Foo(): void;
|