mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Use minimal endings when generating declarations for js
This commit is contained in:
@@ -5479,7 +5479,7 @@ namespace ts {
|
||||
specifierCompilerOptions,
|
||||
contextFile,
|
||||
moduleResolverHost,
|
||||
{ importModuleSpecifierPreference: isBundle ? "non-relative" : "relative" },
|
||||
{ importModuleSpecifierPreference: isBundle ? "non-relative" : "relative", importModuleSpecifierEnding: isBundle ? "minimal" : undefined },
|
||||
));
|
||||
links.specifierCache ??= new Map();
|
||||
links.specifierCache.set(contextFile.path, specifier);
|
||||
|
||||
Reference in New Issue
Block a user