Open
Description
palantir/tslint#4281 is an example of a scenario where a single parameter is deprecated: moving from multiple standalone arguments to a single arguments object, while maintaining backwards compatibility.
Can we mark just that parameter as deprecated? Something like:
export interface IFormatter {
/**
* Formats linter results
* @param failures - Linter failures that were not fixed
* @param @deprecated fixes - Fixed linter failures. Available when the `--fix` argument is used on the command line.
*/
format(failures: RuleFailure[], fixes?: RuleFailure[]): string;
}