mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 07:13:45 -05:00
Rename API to importPlugin (#50554)
* Rename API to importPlugin * Make it internal too
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user