@hastehaul/common 2.0.41 → 2.0.43
Sign up to get free protection for your applications and to get access to all the features.
- package/build/utils/utils.d.ts +1 -1
- package/package.json +1 -1
package/build/utils/utils.d.ts
CHANGED
@@ -6,5 +6,5 @@ export declare function hasElapsed(expirationDate: Date): boolean;
|
|
6
6
|
export declare function colorize(text: string, colorCode: number): string;
|
7
7
|
export declare function formatDatetimeToHumanReadable(datetime: Date, format?: string): string;
|
8
8
|
export declare function generateIdentifier(messageContent: string): string;
|
9
|
-
export declare function getValueFromSettings(settings: Setting[], key: string, envVar
|
9
|
+
export declare function getValueFromSettings(settings: Setting[], key: string, envVar?: string, defaultValue?: any): any;
|
10
10
|
export {};
|