@infigo-official/types-for-pricing-script 1.0.1 → 1.0.2
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.
- package/package.json +1 -1
- package/v1/Output/Output.d.ts +1 -5
package/package.json
CHANGED
package/v1/Output/Output.d.ts
CHANGED
|
@@ -68,14 +68,10 @@ declare function error(message: string): void;
|
|
|
68
68
|
* Console messages are used for debugging purposes and are typically
|
|
69
69
|
* only visible to developers in the browser's developer tools.
|
|
70
70
|
*
|
|
71
|
-
* Note: In the actual Infigo pricing script environment, this function is called `console()`.
|
|
72
|
-
* The TypeScript declaration uses `consoleLog()` to avoid conflicts with the built-in console object.
|
|
73
|
-
*
|
|
74
71
|
* @param message - The message to log to the console
|
|
75
72
|
*
|
|
76
73
|
* @example
|
|
77
|
-
* // In actual pricing scripts, use: console("Script execution started");
|
|
78
74
|
* console("Script execution started");
|
|
79
75
|
* console("Final calculated price: $" + finalPrice);
|
|
80
76
|
*/
|
|
81
|
-
declare function
|
|
77
|
+
declare function console(message: string): void;
|