Skip to content

Commit

Permalink
update trace
Browse files Browse the repository at this point in the history
  • Loading branch information
tequdev committed Aug 10, 2024
1 parent 2eca630 commit 20ee5f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/types/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@ declare global {
* @param hex Should it log formatted in HEX?
* @returns int64_t, value is 0 if successful, If negative, an error: OUT_OF_BOUNDS
*/
function trace(message: string | null, data: any, hex: boolean): ErrorCode
function trace(
message: string | null,
data: any,
hex: boolean | 0 | 1
): ErrorCode

/********************************************************************************************************************* */

Expand Down

0 comments on commit 20ee5f6

Please sign in to comment.