docland icon indicating copy to clipboard operation
docland copied to clipboard

Showing 3 call signatures when only 2 should be shown

Open KyleJune opened this issue 4 years ago • 0 comments

In the following example with overloads, deno docs show 3 call signatures but if you try calling the function in vs code, it only shows the first 2 call signatures in the hint which I believe is the correct behavior.

export function example(value: number): void;
export function example(text: string): void;
export function example(...args: [number | string]) {
  console.log(...args);
}

image

image

https://crux.land/3zcYNc https://doc.deno.land/https://crux.land/api/get/3zcYNc.ts/~/example

KyleJune avatar Mar 19 '22 21:03 KyleJune