Skip to content

Commit a9f8eba

Browse files
foufrixScottyPoi
andauthored
Update packages/cli/src/rpc/modules/portal.ts
change any to BitArray type Co-authored-by: Scotty <66335769+ScottyPoi@users.noreply.github.com>
1 parent 49bb49c commit a9f8eba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli/src/rpc/modules/portal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import type { GetEnrResult } from '../schema/types.js'
3535
* @param contentKeysLength The number of content keys that were offered
3636
* @returns Object with success array, declined flag, or failed flag
3737
*/
38-
function bitToBooleanArray(res: any, contentKeysLength: number): { success?: boolean[]; declined?: boolean; failed?: boolean } {
38+
function bitToBooleanArray(res: BitArray, contentKeysLength: number): { success?: boolean[]; declined?: boolean; failed?: boolean } {
3939
if (res === undefined) {
4040
return { declined: true }
4141
}

0 commit comments

Comments
 (0)