@conterra/ct-mapapps-typings 4.17.1-next.20240327052121 → 4.17.1-next.20240328070851

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,9 +38,10 @@ declare const IGNORE_CASE: (a: any, b: any) => number;
38
38
  * Factory to create a comparator to compare strings using localCompare function.
39
39
  * @param locale locale, e.g. `en` or `de`.
40
40
  * @param ignoreCase `true`, if strings should be compared ignoring case, otherwise `false`.
41
+ * @param numeric `true`, try to interpret the string as number
41
42
  * @returns comparator for strings
42
43
  */
43
- declare function createStringComparator(locale?: string, ignoreCase?: boolean): Comparator<any>;
44
+ declare function createStringComparator(locale?: string, ignoreCase?: boolean, numeric?: boolean): Comparator<any>;
44
45
  /**
45
46
  * Factory to create a string comparator which compares strings respecting numeric parts of the given strings.
46
47
  * The comparator splits the input into string and numeric parts to compare them separately.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conterra/ct-mapapps-typings",
3
- "version": "4.17.1-next.20240327052121",
3
+ "version": "4.17.1-next.20240328070851",
4
4
  "description": "TypeDefinitions for ct-mapapps",
5
5
  "author": "conterra",
6
6
  "license": "Apache-2.0"