79167247

Date: 2024-11-07 16:12:05
Score: 0.5
Natty:
Report link

I tested this method using an imported module and it worked:

// file: newFunction.ts
export function newFunction() {}

//file: deprecatedFunction.ts
import type { newFunction } from "./newFunction"

/** @deprecated use {@link newFunction} */
function deprecatedFunction() {}

Source: https://github.com/microsoft/TypeScript/issues/47718#issuecomment-2185274842

There's also multiple ways to link it in the discussion.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Leandro Haruki