Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6b37d34

Browse files
committedJun 14, 2021
put in proper string array as a parameter
1 parent 36522f8 commit 6b37d34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎ts/Iterable.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ class IterableCommerceItem {
163163
description?: string
164164
url?: string
165165
imageUrl?: string
166-
categories?: [string]
166+
categories?: Array<string>
167167

168-
constructor(id: string, name: string, price: number, quantity: number, sku?: string, description?: string, url?: string, imageUrl?: string, categories?: [string]) {
168+
constructor(id: string, name: string, price: number, quantity: number, sku?: string, description?: string, url?: string, imageUrl?: string, categories?: Array<string>) {
169169
this.id = id
170170
this.name = name
171171
this.price = price

0 commit comments

Comments
 (0)
Please sign in to comment.