diff --git a/core/package.json b/core/package.json index 0a4088f2b1..f0948efbc1 100644 --- a/core/package.json +++ b/core/package.json @@ -27,7 +27,7 @@ "ionicons": "4.3.0" }, "devDependencies": { - "@stencil/core": "0.11.2", + "@stencil/core": "0.11.3", "@stencil/dev-server": "latest", "@stencil/sass": "0.1.0", "@stencil/utils": "latest", diff --git a/core/src/components/item/item.tsx b/core/src/components/item/item.tsx index c52f139930..2b20a7d7e2 100644 --- a/core/src/components/item/item.tsx +++ b/core/src/components/item/item.tsx @@ -120,9 +120,9 @@ export class Item { hostData() { const childStyles = {}; - for (const value of this.itemStyles.values()) { + this.itemStyles.forEach(value => { Object.assign(childStyles, value); - } + }); return { 'tappable': this.isClickable(),