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)) {