mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 15:45:39 +01:00
Replace typescript compiler with native tsgo compiler
This commit is contained in:
@@ -301,7 +301,7 @@ function specToBytes<Input, Output>(
|
||||
spec: ObjectMappingSpecType,
|
||||
data: Input
|
||||
): Output {
|
||||
return mapObjectWithSpec<string, Uint8Array>(spec, data, x =>
|
||||
return mapObjectWithSpec<string, Uint8Array<ArrayBuffer>>(spec, data, x =>
|
||||
Bytes.fromBase64(x)
|
||||
);
|
||||
}
|
||||
@@ -310,7 +310,7 @@ function specFromBytes<Input, Output>(
|
||||
spec: ObjectMappingSpecType,
|
||||
data: Input
|
||||
): Output {
|
||||
return mapObjectWithSpec<Uint8Array, string>(spec, data, x =>
|
||||
return mapObjectWithSpec<Uint8Array<ArrayBuffer>, string>(spec, data, x =>
|
||||
Bytes.toBase64(x)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user