- Create two files:
// abc.ts
/**
* @deprecated
*/
export function abc() { }
abc();
// other.ts
import { abc } from "./abc";
abc()
xyz;
- With only
abc.ts open, run peek references on abc (you can also use the references codelens for this)
Bug
In the peek view, no diagnostics are shown
They are shown with TS 6.0