Uh oh!
There was an error while loading. Please reload this page.
mark LanguageService.getSourceFile as internal and rename it - #7584
Conversation
…urceFile and mark it as internal
Mohamed Hegazy (mhegazy)
commented
Mar 18, 2016
this is a breaking change, i remeber other users used it.. |
Basarat Ali Syed (basarat)
commented
Mar 18, 2016
Thanks for mentioning. Double thanks for renaming to indicate difference 🌹 |
James Brantly (jbrantly)
commented
Mar 18, 2016
Thanks for the mention. ts-loader doesn't use this method so I think it's unaffected. |
Mohamed Hegazy (mhegazy)
commented
Mar 18, 2016
// cc: Martin Probst (@mprobst) |
Vladimir Matveev (vladima)
commented
Mar 18, 2016
//cc: Adi Dahiya (@adidahiya) |
Martin Probst (mprobst)
commented
Mar 18, 2016
Thanks for the heads up. I don't think we use this method, we just use |
Blake Embrey (blakeembrey)
commented
Mar 19, 2016
Ah, I do use it in |
Vladimir Matveev (vladima)
commented
Mar 19, 2016
Will it work if you replace it with |
Blake Embrey (blakeembrey)
commented
Mar 19, 2016
Vladimir Matveev (@vladima) Yes, definitely. Don't worry about it, I'll look into fixing it at the source too some time. |
Adi Dahiya (adidahiya)
commented
Mar 23, 2016
👍 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.