Rename API to importPlugin (#50554)

* Rename API to importPlugin

* Make it internal too
This commit is contained in:
Sheetal Nandi
2022-08-31 14:21:56 -07:00
committed by GitHub
parent 19defbfe57
commit d293e723a2
6 changed files with 22 additions and 23 deletions

View File

@@ -162,7 +162,7 @@ namespace ts.server {
clearImmediate: handle => clearTimeout(handle),
/* eslint-enable no-restricted-globals */
importServicePlugin: async (initialDir: string, moduleName: string): Promise<ModuleImportResult> => {
importPlugin: async (initialDir: string, moduleName: string): Promise<ModuleImportResult> => {
const packageRoot = combinePaths(initialDir, moduleName);
let packageJson: any | undefined;