mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-26 10:43:51 -05:00
Minor name change
This commit is contained in:
@@ -1506,7 +1506,7 @@ namespace ts {
|
||||
}
|
||||
|
||||
// Gets string comparers compatible with the current host
|
||||
function createCaseInsensitiveStringComparers() {
|
||||
function createCaseInsensitiveStringCollator() {
|
||||
function createIntlStringCollator(): StringCollator {
|
||||
// Strings that differ in base or accents/diacritic marks compare as unequal.
|
||||
// An `undefined` locale uses the default locale of the host.
|
||||
@@ -1570,7 +1570,7 @@ namespace ts {
|
||||
return createOrdinalStringCollator();
|
||||
}
|
||||
|
||||
const caseInsensitiveCollator = createCaseInsensitiveStringComparers();
|
||||
const caseInsensitiveCollator = createCaseInsensitiveStringCollator();
|
||||
|
||||
/**
|
||||
* Performs a case-insensitive comparison between two strings.
|
||||
|
||||
Reference in New Issue
Block a user