mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 23:49:20 +01:00
Replace typescript compiler with native tsgo compiler
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
export function fileToBytes(file: Blob): Promise<Uint8Array> {
|
||||
export function fileToBytes(file: Blob): Promise<Uint8Array<ArrayBuffer>> {
|
||||
return new Promise((resolve, rejectPromise) => {
|
||||
const FR = new FileReader();
|
||||
FR.onload = () => {
|
||||
|
||||
Reference in New Issue
Block a user