mark LanguageService.getSourceFile as internal and rename it#7584
mark LanguageService.getSourceFile as internal and rename it#7584
Conversation
…urceFile and mark it as internal
|
this is a breaking change, i remeber other users used it.. |
|
Thanks for mentioning. Double thanks for renaming to indicate difference 🌹 //cc @blakeembrey @jbrantly |
|
Thanks for the mention. ts-loader doesn't use this method so I think it's unaffected. |
|
// cc: @mprobst |
|
//cc: @adidahiya |
|
Thanks for the heads up. I don't think we use this method, we just use |
|
Ah, I do use it in |
|
Will it work if you replace it with |
|
@vladima Yes, definitely. Don't worry about it, I'll look into fixing it at the source too some time. |
|
👍 TSLint is not using |
|
👍 |
fixes #7581.
LanguageService.getSourceFileis a very confusing method - it returns one non-bound source file that is only useful for syntactic analysis. The only consumer of this method uses it to reliably determine if file is an external module.