-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we stop shipping typescriptServices.js? #50758
Comments
The two files are identical, except that they point to different source maps (which are the same, but at different paths, so still redundant). Right now, we use the fact that it's a single file via namespace merging to dynamically choose to export via Anyone currently using However, post-modules, the two linked files probably aren't going to work, though I may be able to push them to the top level file instead, actually. |
FWIW, I noticed this a long time ago and was very confused. I eventually just decided |
Looking back at the Gulpfile, it appears to have been this way for at least 6 years. I think we could definitely remove this file and tell people to use To clarify "somewhat moot", only if we don't bundle. We still may! |
Following up on this since I already have I've done some looking, and it looks like Our API tests also assume that the types come from |
typescriptServices.js
is a global file that provides the language service; however:typescript.js
andtsserverlibrary.js
, just in CommonJS.Is there any need to continue shipping this file to npm?
Maybe these queries will help give us a few pointers as to who's using it
The text was updated successfully, but these errors were encountered: