Skip to content

Commit 47c1fc4

Browse files
author
Andy
authored
Remove unused internal function (#20582)
1 parent 2a4863a commit 47c1fc4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/compiler/core.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,11 +1992,6 @@ namespace ts {
19921992
return /^\.\.?($|[\\/])/.test(path);
19931993
}
19941994

1995-
/** @deprecated Use `!isExternalModuleNameRelative(moduleName)` instead. */
1996-
export function moduleHasNonRelativeName(moduleName: string): boolean {
1997-
return !isExternalModuleNameRelative(moduleName);
1998-
}
1999-
20001995
export function getEmitScriptTarget(compilerOptions: CompilerOptions) {
20011996
return compilerOptions.target || ScriptTarget.ES3;
20021997
}

0 commit comments

Comments
 (0)