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;
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
||||||
export type Exact<P, I extends P> = P extends Builtin
|
export type Exact<P, I extends P> = P extends Builtin
|
||||||
? P
|
? P
|
||||||
: P &
|
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<
|
||||||
{ [K in keyof P]: Exact<P[K], I[K]> } &
|
Exclude<keyof I, KeysOfUnion<P>>,
|
||||||
Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
|
never
|
||||||
|
>;
|
||||||
|
|
||||||
if (_m0.util.Long !== Long) {
|
if (_m0.util.Long !== Long) {
|
||||||
_m0.util.Long = Long as any;
|
_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;
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
||||||
export type Exact<P, I extends P> = P extends Builtin
|
export type Exact<P, I extends P> = P extends Builtin
|
||||||
? P
|
? P
|
||||||
: P &
|
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<
|
||||||
{ [K in keyof P]: Exact<P[K], I[K]> } &
|
Exclude<keyof I, KeysOfUnion<P>>,
|
||||||
Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
|
never
|
||||||
|
>;
|
||||||
|
|
||||||
if (_m0.util.Long !== Long) {
|
if (_m0.util.Long !== Long) {
|
||||||
_m0.util.Long = Long as any;
|
_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;
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
||||||
export type Exact<P, I extends P> = P extends Builtin
|
export type Exact<P, I extends P> = P extends Builtin
|
||||||
? P
|
? P
|
||||||
: P &
|
: P & { [K in keyof P]: Exact<P[K], I[K]> } & Record<
|
||||||
{ [K in keyof P]: Exact<P[K], I[K]> } &
|
Exclude<keyof I, KeysOfUnion<P>>,
|
||||||
Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
|
never
|
||||||
|
>;
|
||||||
|
|
||||||
function longToNumber(long: Long): number {
|
function longToNumber(long: Long): number {
|
||||||
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
if (long.gt(Number.MAX_SAFE_INTEGER)) {
|
||||||
|
|
Loading…
Reference in New Issue