Fixed all type issues that were flagged in the IDE
This commit is contained in:
@@ -45,9 +45,9 @@
|
||||
const route = useRoute()
|
||||
const { api } = useApi()
|
||||
|
||||
const app = ref(null)
|
||||
const app = ref<any>(null)
|
||||
const loading = ref(true)
|
||||
const error = ref(null)
|
||||
const error = ref<string | null>(null)
|
||||
|
||||
const fetchApp = async () => {
|
||||
try {
|
||||
|
||||
@@ -106,9 +106,9 @@
|
||||
<script setup lang="ts">
|
||||
const { api } = useApi()
|
||||
|
||||
const apps = ref([])
|
||||
const apps = ref<any[]>([])
|
||||
const loading = ref(true)
|
||||
const error = ref(null)
|
||||
const error = ref<string | null>(null)
|
||||
const showCreateForm = ref(false)
|
||||
const newApp = ref({
|
||||
slug: '',
|
||||
|
||||
Reference in New Issue
Block a user