What is the professional standard for handling deprecated TypeScript APIs in a shared codebase?
-
A
Remove them immediately without notice
-
B
Mark them with `@deprecated` JSDoc, communicate a migration path, and phase them out gradually
-
C
Keep them indefinitely to avoid breaking changes
-
D
Delete them only when a new hire joins the project