mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Flip imports to case insensitive sorting (#51579)
This commit is contained in:
1 parent
2d2a4343b8
commit
00dc0b6674
318 files changed
+5437
-5436
No files matched your search
@@ -1,60 +1,37 @@
|
||||
import {
|
||||
AmbientModuleDeclaration,
|
||||
CharacterCodes,
|
||||
Comparison,
|
||||
CompilerOptions,
|
||||
Debug,
|
||||
ExportAssignment,
|
||||
Extension,
|
||||
FileIncludeKind,
|
||||
GetCanonicalFileName,
|
||||
Identifier,
|
||||
JsxEmit,
|
||||
MapLike,
|
||||
ModuleDeclaration,
|
||||
ModuleKind,
|
||||
ModulePath,
|
||||
ModuleResolutionHost,
|
||||
ModuleResolutionKind,
|
||||
ModuleSpecifierCache,
|
||||
ModuleSpecifierOptions,
|
||||
ModuleSpecifierResolutionHost,
|
||||
NodeFlags,
|
||||
NodeModulePathParts,
|
||||
Path,
|
||||
PropertyAccessExpression,
|
||||
ResolutionMode,
|
||||
ScriptKind,
|
||||
SourceFile,
|
||||
StringLiteral,
|
||||
Symbol,
|
||||
SymbolFlags,
|
||||
TypeChecker,
|
||||
UserPreferences,
|
||||
__String,
|
||||
allKeysStartWithDot,
|
||||
AmbientModuleDeclaration,
|
||||
append,
|
||||
arrayFrom,
|
||||
CharacterCodes,
|
||||
combinePaths,
|
||||
compareBooleans,
|
||||
compareNumberOfDirectorySeparators,
|
||||
comparePaths,
|
||||
Comparison,
|
||||
CompilerOptions,
|
||||
containsIgnoredPath,
|
||||
containsPath,
|
||||
createGetCanonicalFileName,
|
||||
Debug,
|
||||
directorySeparator,
|
||||
emptyArray,
|
||||
endsWith,
|
||||
ensurePathIsNonModuleName,
|
||||
ensureTrailingDirectorySeparator,
|
||||
every,
|
||||
ExportAssignment,
|
||||
Extension,
|
||||
extensionFromPath,
|
||||
fileExtensionIsOneOf,
|
||||
FileIncludeKind,
|
||||
firstDefined,
|
||||
flatMap,
|
||||
flatten,
|
||||
forEach,
|
||||
forEachAncestorDirectory,
|
||||
GetCanonicalFileName,
|
||||
getDirectoryPath,
|
||||
getEmitModuleResolutionKind,
|
||||
getImpliedNodeFormatForFile,
|
||||
@@ -74,6 +51,7 @@ import {
|
||||
hasJSFileExtension,
|
||||
hasTSFileExtension,
|
||||
hostGetCanonicalFileName,
|
||||
Identifier,
|
||||
isAmbientModule,
|
||||
isApplicableVersionedTypesKey,
|
||||
isExternalModuleAugmentation,
|
||||
@@ -84,24 +62,46 @@ import {
|
||||
isRootedDiskPath,
|
||||
isSourceFile,
|
||||
isString,
|
||||
JsxEmit,
|
||||
map,
|
||||
mapDefined,
|
||||
MapLike,
|
||||
matchPatternOrExact,
|
||||
min,
|
||||
ModuleDeclaration,
|
||||
ModuleKind,
|
||||
ModulePath,
|
||||
ModuleResolutionHost,
|
||||
ModuleResolutionKind,
|
||||
ModuleSpecifierCache,
|
||||
ModuleSpecifierOptions,
|
||||
ModuleSpecifierResolutionHost,
|
||||
NodeFlags,
|
||||
NodeModulePathParts,
|
||||
normalizePath,
|
||||
Path,
|
||||
pathContainsNodeModules,
|
||||
pathIsBareSpecifier,
|
||||
pathIsRelative,
|
||||
PropertyAccessExpression,
|
||||
removeFileExtension,
|
||||
removeSuffix,
|
||||
ResolutionMode,
|
||||
resolvePath,
|
||||
ScriptKind,
|
||||
some,
|
||||
SourceFile,
|
||||
startsWith,
|
||||
startsWithDirectory,
|
||||
stringContains,
|
||||
StringLiteral,
|
||||
Symbol,
|
||||
SymbolFlags,
|
||||
toPath,
|
||||
tryGetExtensionFromPath,
|
||||
tryParsePatterns,
|
||||
TypeChecker,
|
||||
UserPreferences,
|
||||
} from "./_namespaces/ts";
|
||||
|
||||
// Used by importFixes, getEditsForFileRename, and declaration emit to synthesize import module specifiers.
|
||||
|
||||
Reference in new issue
Block a user