fix(crypto): cast uint8Array to any in hexToBlob method to resolve TypeScript type issues
This commit is contained in:
parent
0970d1b0da
commit
90376e364a
@ -6,7 +6,7 @@ export class CryptoService {
|
|||||||
|
|
||||||
public hexToBlob(hexString: string): Blob {
|
public hexToBlob(hexString: string): Blob {
|
||||||
const uint8Array = this.hexToUInt8Array(hexString);
|
const uint8Array = this.hexToUInt8Array(hexString);
|
||||||
return new Blob([uint8Array], { type: 'application/octet-stream' });
|
return new Blob([uint8Array as any], { type: 'application/octet-stream' });
|
||||||
}
|
}
|
||||||
|
|
||||||
public hexToUInt8Array(hexString: string): Uint8Array {
|
public hexToUInt8Array(hexString: string): Uint8Array {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user