Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
/**
|
|
* Formats the given values into a string.
|
|
*
|
|
* @param values - The values to format.
|
|
* @param normalizeDepth - The depth to normalize the values.
|
|
* @param normalizeMaxBreadth - The max breadth to normalize the values.
|
|
* @returns The formatted string.
|
|
*/
|
|
export declare function formatConsoleArgs(values: unknown[], normalizeDepth: number, normalizeMaxBreadth: number): string;
|
|
/**
|
|
* Joins the given values into a string.
|
|
*
|
|
* @param values - The values to join.
|
|
* @param normalizeDepth - The depth to normalize the values.
|
|
* @param normalizeMaxBreadth - The max breadth to normalize the values.
|
|
* @returns The joined string.
|
|
*/
|
|
export declare function safeJoinConsoleArgs(values: unknown[], normalizeDepth: number, normalizeMaxBreadth: number): string;
|
|
/**
|
|
* Checks if a string contains console substitution patterns like %s, %d, %i, %f, %o, %O, %c.
|
|
*
|
|
* @param str - The string to check
|
|
* @returns true if the string contains console substitution patterns
|
|
*/
|
|
export declare function hasConsoleSubstitutions(str: string): boolean;
|
|
/**
|
|
* Creates template attributes for multiple console arguments.
|
|
*
|
|
* @param args - The console arguments
|
|
* @returns An object with template and parameter attributes
|
|
*/
|
|
export declare function createConsoleTemplateAttributes(firstArg: unknown, followingArgs: unknown[]): Record<string, unknown>;
|
|
//# sourceMappingURL=utils.d.ts.map
|