Skip to content

Commit 2983c7c

Browse files
authored
chore: add missing types in TSDocs example (#12835)
1 parent 9a62f35 commit 2983c7c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/core/utils/src/fulfillment/provider.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,10 @@ export class AbstractFulfillmentProviderService
283283
* class MyFulfillmentProviderService extends AbstractFulfillmentProviderService {
284284
* // ...
285285
* async createFulfillment(
286-
* data: any,
287-
* items: any,
288-
* order: any,
289-
* fulfillment: any
286+
* data: Record<string, unknown>,
287+
* items: Partial<Omit<FulfillmentItemDTO, "fulfillment">>[],
288+
* order: Partial<FulfillmentOrderDTO> | undefined,
289+
* fulfillment: Partial<Omit<FulfillmentDTO, "provider_id" | "data" | "items">>
290290
* ): Promise<CreateFulfillmentResult> {
291291
* // assuming the client creates a fulfillment
292292
* // in the third-party service

0 commit comments

Comments
 (0)