π Search Terms
- Deprecated implementation
- Deprecated interface
Related #57584
π Version & Regression Information
Not a regression
β― Playground Link
No response
π» Code
type I = {
/**
* @deprecated
*/
text: string;
};
function f(i: I) { return i; }
f({ text: 'a' });
const a: I = { text: 'a' }
a.text;
π Actual behavior
Currently only the last use of a.text shows as deprecated
π Expected behavior
It would be helpful to also render deprecations for any implementations of I.text too as these are also using the deprecated property
Additional information about the issue
No response
π Search Terms
Related #57584
π Version & Regression Information
Not a regression
β― Playground Link
No response
π» Code
π Actual behavior
Currently only the last use of
a.textshows as deprecatedπ Expected behavior
It would be helpful to also render deprecations for any implementations of
I.texttoo as these are also using the deprecated propertyAdditional information about the issue
No response