chore: add missing types in TSDocs example (#12835)
This commit is contained in:
@@ -283,10 +283,10 @@ export class AbstractFulfillmentProviderService
|
|||||||
* class MyFulfillmentProviderService extends AbstractFulfillmentProviderService {
|
* class MyFulfillmentProviderService extends AbstractFulfillmentProviderService {
|
||||||
* // ...
|
* // ...
|
||||||
* async createFulfillment(
|
* async createFulfillment(
|
||||||
* data: any,
|
* data: Record<string, unknown>,
|
||||||
* items: any,
|
* items: Partial<Omit<FulfillmentItemDTO, "fulfillment">>[],
|
||||||
* order: any,
|
* order: Partial<FulfillmentOrderDTO> | undefined,
|
||||||
* fulfillment: any
|
* fulfillment: Partial<Omit<FulfillmentDTO, "provider_id" | "data" | "items">>
|
||||||
* ): Promise<CreateFulfillmentResult> {
|
* ): Promise<CreateFulfillmentResult> {
|
||||||
* // assuming the client creates a fulfillment
|
* // assuming the client creates a fulfillment
|
||||||
* // in the third-party service
|
* // in the third-party service
|
||||||
|
|||||||
Reference in New Issue
Block a user