From 29351b07af05efc496214fcaf8312afc376be9cb Mon Sep 17 00:00:00 2001
From: Furkan Sahin <furkan-dev@proton.me>
Date: Thu, 29 Apr 2021 15:47:20 -0500
Subject: Make all components use typescript

---
 src/components/List.vue | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

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

diff --git a/src/components/List.vue b/src/components/List.vue
index f1ef690..4732a9e 100644
--- a/src/components/List.vue
+++ b/src/components/List.vue
@@ -9,16 +9,21 @@
   </ul>
 </template>
 
-<script>
-export default {
+<script lang="ts">
+import { defineComponent } from 'vue';
+
+export default defineComponent({
   name: 'List',
   props: {
-    items: Array,
+    items: {
+      type: Array,
+      default: [] as any[],
+    },
   },
   emits: {
     selectionChanged: null,
   },
-};
+});
 </script>
 
 <style scoped>
-- 
cgit v1.2.3

