Skip to content

Commit a7108a6

Browse files
committed
Revert "[ts] Add ProductListing#count() params argument (MONEI#485)"
This reverts commit 6bc6f3a.
1 parent ece5b84 commit a7108a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ This feature is only available on version 2.24.0 and above.
532532
- `list(productId[, params])`
533533
- `update(productId, id, params)`
534534
- productListing
535-
- `count([params])`
535+
- `count()`
536536
- `create(productId[, params])`
537537
- `delete(productId)`
538538
- `get(productId)`

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ declare class Shopify {
545545
) => Promise<Shopify.IProductImage>;
546546
};
547547
productListing: {
548-
count: (params?: any) => Promise<number>;
548+
count: () => Promise<number>;
549549
create: (
550550
productId: number,
551551
params: any

0 commit comments

Comments
 (0)