Remove deprecated internal method · Pull Request #24540 · microsoft/TypeScript

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@ghost

Copy link

@ghost ghost commented

May 31, 2018

The only history I can find on this is af5148d -- since this method is internal there should be no problem removing it?

@ghost ghost requested a review from mhegazy

May 31, 2018 21:37

@mhegazy

Copy link

Contributor

mhegazy commented

May 31, 2018

@Andy-MS can you add a note about it in the API breaking changes section.

@ghost

Copy link

Author

ghost commented

May 31, 2018

edited by ghost

Loading

Don't think it's an API breaking change since this wasn't in the public API?

@mhegazy

Copy link

Contributor

mhegazy commented

May 31, 2018

I remember monaco used to take a dependency on it. but they do not any longer. even though it is not part of the public API ppl still use it. we just need to add a note to use getProgram().getSourceFile() instead.

@ghost

Copy link

Author

ghost commented

Jun 1, 2018

Updated API breaking changes.

@ghost ghost merged commit e654442 into master

Jun 1, 2018

@ghost ghost deleted the deprecated_getsourcefile branch

June 1, 2018 15:14

@microsoft microsoft locked and limited conversation to collaborators

Jul 31, 2018

This pull request was closed.

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@mhegazy