Remove unused internal function (#20582)
This commit is contained in:
Родитель
2a4863a9b5
Коммит
47c1fc4022
|
@ -1992,11 +1992,6 @@ namespace ts {
|
|||
return /^\.\.?($|[\\/])/.test(path);
|
||||
}
|
||||
|
||||
/** @deprecated Use `!isExternalModuleNameRelative(moduleName)` instead. */
|
||||
export function moduleHasNonRelativeName(moduleName: string): boolean {
|
||||
return !isExternalModuleNameRelative(moduleName);
|
||||
}
|
||||
|
||||
export function getEmitScriptTarget(compilerOptions: CompilerOptions) {
|
||||
return compilerOptions.target || ScriptTarget.ES3;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче