Skip to content

factory: remove deprecated overloads#25350

Closed
ajafff wants to merge 1 commit into
microsoft:masterfrom
ajafff:factory-deprecated-overload
Closed

factory: remove deprecated overloads#25350
ajafff wants to merge 1 commit into
microsoft:masterfrom
ajafff:factory-deprecated-overload

Conversation

@ajafff
Copy link
Copy Markdown
Contributor

@ajafff ajafff commented Jul 1, 2018

They have been deprecated for at least 9 months

Unfortunately the comment was no JSDoc, therefore it was never deprecated in the generated declaration file.

They have been deprecated for at least 9 months

Unfortunately the comment was no JSDoc,
therefore it was never deprecated in the generated declaration file.
@DanielRosenwasser
Copy link
Copy Markdown
Member

Offhandedly I can already see @SamPruden (here and here) and @urish (here) use that deprecated overload. I wonder if @evmar and others use it, and whether it's even worth it to remove without converting to a JSDoc comment first for at least one release.

@ajafff
Copy link
Copy Markdown
Contributor Author

ajafff commented Jul 2, 2018

I've opened #25363 to deprecate them first using JSDoc. The actual removal can be done later

@ajafff ajafff closed this Jul 2, 2018
@evmar
Copy link
Copy Markdown
Contributor

evmar commented Jul 2, 2018

Looks like no use in tsickle or Google, delete away.

@DanielRosenwasser
Copy link
Copy Markdown
Member

Okay, I think the plan will be to deprecate for 3.0, delete in 3.1.

urish added a commit to mockdeep/typewiz that referenced this pull request Jul 3, 2018
urish added a commit to mockdeep/typewiz that referenced this pull request Jul 3, 2018
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
@typescript-bot
Copy link
Copy Markdown
Collaborator

This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants