mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 16:08:34 +01:00
Replace typescript compiler with native tsgo compiler
This commit is contained in:
@@ -92,9 +92,10 @@ export type AssertProps<Result, Value> = InternalAssertProps<Result, Value>;
|
||||
|
||||
export type UnwrapPromise<Value> = Value extends Promise<infer T> ? T : Value;
|
||||
|
||||
export type BytesToStrings<Value> = Value extends Uint8Array
|
||||
? string
|
||||
: { [Key in keyof Value]: BytesToStrings<Value[Key]> };
|
||||
export type BytesToStrings<Value> =
|
||||
Value extends Uint8Array<ArrayBuffer>
|
||||
? string
|
||||
: { [Key in keyof Value]: BytesToStrings<Value[Key]> };
|
||||
|
||||
export type JSONWithUnknownFields<Value> =
|
||||
Value extends Record<string | symbol | number, unknown>
|
||||
|
||||
Reference in New Issue
Block a user