From 06d89418aae554b329bb11901f8ba2944f65c93a Mon Sep 17 00:00:00 2001 From: Franck Date: Wed, 5 Jan 2022 11:11:42 +1100 Subject: [PATCH] Format change --- src/proto/waku/v2/light_push.ts | 7 ++++--- src/proto/waku/v2/message.ts | 7 ++++--- src/proto/waku/v2/store.ts | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/proto/waku/v2/light_push.ts b/src/proto/waku/v2/light_push.ts index dc545a0167..59a44e7fe2 100644 --- a/src/proto/waku/v2/light_push.ts +++ b/src/proto/waku/v2/light_push.ts @@ -279,9 +279,10 @@ export type DeepPartial = T extends Builtin type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P - : P & - { [K in keyof P]: Exact } & - Record>, never>; + : P & { [K in keyof P]: Exact } & Record< + Exclude>, + never + >; if (_m0.util.Long !== Long) { _m0.util.Long = Long as any; diff --git a/src/proto/waku/v2/message.ts b/src/proto/waku/v2/message.ts index c6d6f684b2..361448ee7d 100644 --- a/src/proto/waku/v2/message.ts +++ b/src/proto/waku/v2/message.ts @@ -171,9 +171,10 @@ export type DeepPartial = T extends Builtin type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P - : P & - { [K in keyof P]: Exact } & - Record>, never>; + : P & { [K in keyof P]: Exact } & Record< + Exclude>, + never + >; if (_m0.util.Long !== Long) { _m0.util.Long = Long as any; diff --git a/src/proto/waku/v2/store.ts b/src/proto/waku/v2/store.ts index b501f02a03..71e513e611 100644 --- a/src/proto/waku/v2/store.ts +++ b/src/proto/waku/v2/store.ts @@ -710,9 +710,10 @@ export type DeepPartial = T extends Builtin type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P - : P & - { [K in keyof P]: Exact } & - Record>, never>; + : P & { [K in keyof P]: Exact } & Record< + Exclude>, + never + >; function longToNumber(long: Long): number { if (long.gt(Number.MAX_SAFE_INTEGER)) {