mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-28 08:24:32 +00:00
Remove duplicated method definition
This commit is contained in:
3
types/shopify-buy/index.d.ts
vendored
3
types/shopify-buy/index.d.ts
vendored
@@ -50,7 +50,6 @@ declare namespace ShopifyBuy {
|
||||
fetchWithProducts(id: string): Promise<any[]>; // TODO fix to be a type: Docs: Fetches a single collection by ID on the shop, not including products.
|
||||
fetchAll(pageSizeopt?: number): Promise<any[]>; // TODO fix to be a type: Docs: Fetches all collections on the shop, not including products.
|
||||
fetchAllWithProducts(): Promise<any[]>; // TODO fix to be a type: DOC: Fetches all collections on the shop, including products.
|
||||
fetchWithProducts(id: string): Promise<any[]>; // TODO fix to be a type: DOC: Fetches all collections on the shop, including products.
|
||||
fetchByHandle(handle: string): Promise<any[]>; // TODO fix to be a type: DOC: Fetches a collection by handle on the shop. Assuming it does not give products
|
||||
fetchQuery(query: Query): Promise<any[]>; // TODO fix to be a type: DOC: Fetches a collection by handle on the shop. Assuming it does not give products
|
||||
}
|
||||
@@ -106,7 +105,7 @@ declare namespace ShopifyBuy {
|
||||
export interface Query {
|
||||
/**
|
||||
* query: title, collection_type, updated_at
|
||||
* TODO probably will remove before Defintely Typed PR,
|
||||
* TODO probably will remove before Defintely Typed PR,
|
||||
* as their community guidelines
|
||||
*/
|
||||
query: string;
|
||||
|
||||
Reference in New Issue
Block a user