Format change

This commit is contained in:
Franck 2022-01-05 11:11:42 +11:00
parent c67664a21b
commit 06d89418aa
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
3 changed files with 12 additions and 9 deletions

View File

@ -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;

View File

@ -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;

View File

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