mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 17:08:11 +01:00
Replace typescript compiler with native tsgo compiler
This commit is contained in:
@@ -81,7 +81,7 @@ async function getFont(text: string): Promise<string> {
|
||||
|
||||
export async function avatarDataToBytes(
|
||||
avatarData: AvatarDataType
|
||||
): Promise<Uint8Array> {
|
||||
): Promise<Uint8Array<ArrayBuffer>> {
|
||||
const canvas = document.createElement('canvas');
|
||||
canvas.width = CANVAS_SIZE;
|
||||
canvas.height = CANVAS_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user