Fix types
This commit is contained in:
		@@ -15,7 +15,7 @@ const hash = async (string: string) => {
 | 
			
		||||
  return hashHex;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function toHex(str) {
 | 
			
		||||
function toHex(str: string) {
 | 
			
		||||
  var result = '';
 | 
			
		||||
  for (var i = 0; i < str.length; i++) {
 | 
			
		||||
    result += str.charCodeAt(i).toString(16);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user