Remove duplicated method definition

This commit is contained in:
Rosana Ruiz
2018-08-24 18:20:19 +01:00
parent 3e5e49b624
commit 77e8d4e125

View File

@@ -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;