diff --git a/src/compiler/core.ts b/src/compiler/core.ts index 6bc8c1f758b..b11750c25af 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -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; }