mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
chore: more ts fixes
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
} = $props();
|
||||
|
||||
let search = $state('');
|
||||
let selectedInstallation = null;
|
||||
let selectedInstallation: string = null;
|
||||
let isLoadingRepositories = $state(null);
|
||||
|
||||
async function loadInstallations() {
|
||||
@@ -110,6 +110,8 @@
|
||||
$repositories.search = search;
|
||||
$repositories.installationId = installationId;
|
||||
}
|
||||
|
||||
$inspect(selectedRepository);
|
||||
</script>
|
||||
|
||||
{#if hasInstallations}
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@
|
||||
let domain = baseDomain;
|
||||
let domainStatus: 'complete' | 'failed' | 'pending' = 'complete';
|
||||
|
||||
let error = null;
|
||||
let error: string = null;
|
||||
async function onSubmit() {
|
||||
try {
|
||||
await sdk
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
export let file: Models.File;
|
||||
export let token: Models.ResourceToken;
|
||||
|
||||
let error = null;
|
||||
let error: boolean = null;
|
||||
|
||||
let codeSnippets = {};
|
||||
let selectedTab = 'Preview';
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
"strict": false,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"moduleResolution": "bundler"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user