pangea-helpers 1.3.32 → 1.3.34

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.
@@ -1 +1,2 @@
1
1
  export declare function sumWithUnits(first: string, ...rest: string[]): string;
2
+ export declare function roundNumber(number: number, roundTo: number, roundDirection?: 'round' | 'ceil' | 'floor'): number;
@@ -1,5 +1,6 @@
1
- export declare function getFirstChartInLowercase(str: String): string;
2
- export declare function getFirstChartInUppercase(str: String): string;
1
+ import type { CapitalizeFirstLetter, DecapitalizeFirstLetter } from '../types';
2
+ export declare function getFirstChartInLowercase<T extends string>(str: T): DecapitalizeFirstLetter<T>;
3
+ export declare function getFirstChartInUppercase<T extends string>(str: T): CapitalizeFirstLetter<T>;
3
4
  export declare function camelToSnake(str: String): string;
4
5
  export declare function camelToUpperSnake(str: String): string;
5
6
  export declare function camelToKebab(str: String): string;