mirror of
https://github.com/bitwarden/browser
synced 2026-03-02 03:21:19 +00:00
[PM-31406] fix: TypeScript 5.9 type compatibility fixes for vault-owned code (#19191)
* fix: TypeScript 5.9 type compatibility fixes for vault-owned code Add explicit `as BufferSource` casts and `Uint8Array` wrapping to satisfy stricter type checking in TypeScript 5.9. Non-functional changes. * Fix cli build
This commit is contained in:
@@ -120,7 +120,7 @@ export class DownloadAttachmentComponent {
|
||||
|
||||
this.fileDownloadService.download({
|
||||
fileName: attachment.fileName,
|
||||
blobData: decBuf,
|
||||
blobData: decBuf as BlobPart,
|
||||
});
|
||||
} catch {
|
||||
this.toastService.showToast({
|
||||
|
||||
Reference in New Issue
Block a user