Use explicit extensions for imports within src (#58421)

This commit is contained in:
Jake Bailey
2024-05-06 17:07:54 -07:00
committed by GitHub
parent 9598d35074
commit 16beff101a
582 changed files with 2583 additions and 2360 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
import type * as ts from "./_namespaces/ts";
import type * as ts from "./_namespaces/ts.js";
import type {
ApplicableRefactorInfo,
CompilerOptionsValue,
@@ -21,13 +21,13 @@ import type {
TodoCommentDescriptor,
TypeAcquisition,
UserPreferences,
} from "./_namespaces/ts";
} from "./_namespaces/ts.js";
import {
ClassificationType,
CompletionTriggerKind,
OrganizeImportsMode,
SemicolonPreference,
} from "./_namespaces/ts";
} from "./_namespaces/ts.js";
// These types/enums used to be defined in duplicate here and exported. They are re-exported to avoid breaking changes.
export { ApplicableRefactorInfo, ClassificationType, CompletionsTriggerCharacter, CompletionTriggerKind, OrganizeImportsMode, RefactorTriggerReason, RenameInfoFailure, SemicolonPreference, SignatureHelpTriggerReason, SymbolDisplayPart, UserPreferences };