lint 수정

This commit is contained in:
2023-08-06 14:39:53 +00:00
parent 4b6d48850e
commit ce1749e090
4 changed files with 8 additions and 8 deletions
+3 -2
View File
@@ -10,8 +10,9 @@ export function APIPathGen<T extends object, V>(
throw new Error('Symbol is not supported');
}
if(map.has(key)){
return map.get(key)!;
const cachedResult = map.get(key);
if(cachedResult !== undefined){
return cachedResult;
}
const nextPath = [...path, key];
+1 -1
View File
@@ -1,4 +1,4 @@
/* tslint:disable */
/* eslint-disable @typescript-eslint/no-namespace */
/**
+1 -1
View File
@@ -196,7 +196,7 @@ export class LiteHashDRBG implements RNG {
if (nextBlockWait) {
nextBlockWait();
}
return nextBlock!;
return nextBlock as Uint8Array;
}
public async nextBits(bits: number, baseBytes?: number): Promise<Uint8Array> {