From ab91cf281e08fcd359f26e74390dcfa9cc2b420b Mon Sep 17 00:00:00 2001 From: Steven Luscher Date: Fri, 3 Jan 2025 20:02:10 -0500 Subject: [PATCH] Repro for link to external symbol, function, and label --- src/index.ts | 2 +- src/someInterface.ts | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 src/someInterface.ts diff --git a/src/index.ts b/src/index.ts index c0a8215..0aabe96 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ /** - * Some code reproducing a bug. + * {@link SomeInterface#someFunction:WITHNUMBER | someFunction} */ export const bug = 123; diff --git a/src/someInterface.ts b/src/someInterface.ts new file mode 100644 index 0000000..b3910d7 --- /dev/null +++ b/src/someInterface.ts @@ -0,0 +1,10 @@ +export interface SomeInterface { + /** + * {@label DEFAULT} + */ + someFunction(): void; + /** + * {@label WITHNUMBER} + */ + someFunction(num: number): void; +} \ No newline at end of file