Fix style TypeScript errors

This commit is contained in:
Kevin Schmidt
2018-09-14 15:57:21 -06:00
parent 7912c5d711
commit 124fccf127
8 changed files with 30 additions and 12 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class Fill {
clone() {
const color = this.getColor();
return new Fill({
color: (color && color.slice) ? color.slice() : color || undefined
color: Array.isArray(color) ? color.slice() : color || undefined
});
}