Skip to content

Commit 74b3621

Browse files
committed
chore: partial
1 parent 31c8fa3 commit 74b3621

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/sdk/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { ClientError, RawClient, Status } from 'nice-grpc';
33
import { DeadlineOptions } from 'nice-grpc-client-middleware-deadline';
44
import { NormalizedServiceDefinition } from 'nice-grpc/lib/service-definitions';
55

6-
import { DeepPartial } from '../generated/typeRegistry';
76
import { Operation } from '../generated/yandex/cloud/operation/operation';
87
import { Reader } from 'protobufjs';
98

@@ -134,7 +133,7 @@ export type SessionArg = { client: ClientType };
134133

135134
export type TypeFromProtoc<T extends object, NotPartialKey extends keyof T = never> = {
136135
[Key in NotPartialKey]: T[Key];
137-
} & DeepPartial<T>;
136+
} & Partial<T>;
138137

139138
export type OperationWithDecoder<DecoderT> = Operation & {
140139
decoder: (input: Reader | Uint8Array, length?: number) => DecoderT;

0 commit comments

Comments
 (0)