mirror of https://github.com/waku-org/js-waku.git
Format change
This commit is contained in:
parent
c67664a21b
commit
06d89418aa
|
@ -279,9 +279,10 @@ export type DeepPartial<T> = T extends Builtin
|
|||
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
||||
export type Exact<P, I extends P> = P extends Builtin
|
||||
? P
|
||||
: P &
|
||||
{ [K in keyof P]: Exact<P[K], I[K]> } &
|
||||
Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
|
||||
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<
|
||||
Exclude<keyof I, KeysOfUnion<P>>,
|
||||
never
|
||||
>;
|
||||
|
||||
if (_m0.util.Long !== Long) {
|
||||
_m0.util.Long = Long as any;
|
||||
|
|
|
@ -171,9 +171,10 @@ export type DeepPartial<T> = T extends Builtin
|
|||
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
||||
export type Exact<P, I extends P> = P extends Builtin
|
||||
? P
|
||||
: P &
|
||||
{ [K in keyof P]: Exact<P[K], I[K]> } &
|
||||
Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
|
||||
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<
|
||||
Exclude<keyof I, KeysOfUnion<P>>,
|
||||
never
|
||||
>;
|
||||
|
||||
if (_m0.util.Long !== Long) {
|
||||
_m0.util.Long = Long as any;
|
||||
|
|
|
@ -710,9 +710,10 @@ export type DeepPartial<T> = T extends Builtin
|
|||
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
||||
export type Exact<P, I extends P> = P extends Builtin
|
||||
? P
|
||||
: P &
|
||||
{ [K in keyof P]: Exact<P[K], I[K]> } &
|
||||
Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
|
||||
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<
|
||||
Exclude<keyof I, KeysOfUnion<P>>,
|
||||
never
|
||||
>;
|
||||
|
||||
function longToNumber(long: Long): number {
|
||||
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
||||
|
|
Loading…
Reference in New Issue