mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-10-05 15:30:06 +01:00
Replace typescript compiler with native tsgo compiler
This commit is contained in:
1 parent
3851a3905a
commit
023ae37492
207 files changed
+1819
-1270
No files matched your search
@@ -7,6 +7,7 @@ import { createLogger } from '../logging/log.std.js';
|
||||
import { isIterable } from '../util/iterables.std.js';
|
||||
|
||||
import { toNumber } from '../util/toNumber.std.js';
|
||||
import { isNonSharedUint8Array } from '../Bytes.std.js';
|
||||
|
||||
const { isPlainObject } = lodash;
|
||||
|
||||
@@ -42,7 +43,7 @@ type CleanedDataValue =
|
||||
| boolean
|
||||
| null
|
||||
| undefined
|
||||
| Uint8Array
|
||||
| Uint8Array<ArrayBuffer>
|
||||
| CleanedObject
|
||||
| CleanedArray;
|
||||
/* eslint-disable no-restricted-syntax */
|
||||
@@ -129,7 +130,7 @@ function cleanDataInner(
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if (data instanceof Uint8Array) {
|
||||
if (isNonSharedUint8Array(data)) {
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user