From 7b01334360c964beec86e6dc0ef32b3f6531eb17 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Wed, 16 Mar 2022 10:06:25 +1100
Subject: Fix center-prop typescript error, add allocated-array type
 annotations

---
 src/components/Tile.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/Tile.vue')

diff --git a/src/components/Tile.vue b/src/components/Tile.vue
index 463f3e5..92459b7 100644
--- a/src/components/Tile.vue
+++ b/src/components/Tile.vue
@@ -15,7 +15,7 @@ export default defineComponent({
 		transitionDuration: {type: Number, required: true},
 		headerSz: {type: Number, required: true},
 		tileSpacing: {type: Number, required: true},
-		center: {type: Array, default: null},
+		center: {type: Array as unknown as PropType<[number,number]>, default: null},
 	},
 	computed: {
 		name(){return this.layoutNode.tolNode.name.replaceAll('\'', '\\\'')}
-- 
cgit v1.2.3

