DIDMethodOperation<TMetadata, TRes>
@hyperledger/identus-sdk v8.0.0
@hyperledger/identus-sdk / overview / DIDMethodOperation
Type Alias: DIDMethodOperation<TMetadata, TRes>
DIDMethodOperation<
TMetadata,TRes> =TRes
Defined in: packages/lib/sdk/src/castor/methods/types.ts:8
Generic wrapper for the return value of lifecycle operations
(publish, update, deactivate).
By default it resolves to TMetadata itself, but the second type
parameter can override the concrete result type.
Type Parameters
| Type Parameter | Default type |
|---|---|
TMetadata | unknown |
TRes | TMetadata |