update declaration
This commit is contained in:
parent
fb0b1ac004
commit
86bc73f5bd
3
index.d.ts
vendored
3
index.d.ts
vendored
@ -26,9 +26,10 @@ export function to_utf8(str: string, encoding: string): string;
|
||||
* encode a number to hex
|
||||
*
|
||||
* @param {number} n number to encode
|
||||
* @param {number} padding minumum length of output
|
||||
* @returns {string} hex
|
||||
*/
|
||||
export function num_to_hex(n: number): string;
|
||||
export function num_to_hex(n: number, padding?: number): string;
|
||||
/**
|
||||
* decode a number from hex
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user