Remove unused internal function (#20582)

This commit is contained in:
Andy 2017-12-08 14:06:23 -08:00 committed by GitHub
parent 2a4863a9b5
commit 47c1fc4022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}