mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: add missing type
This commit is contained in:
1 parent
cf5f39c3fb
commit
a2f3c8a0e5
1 file changed
+1
-1
@@ -15,7 +15,7 @@
|
||||
let showError: false | 'name' | 'email' | 'password' = false;
|
||||
let errorMessage = 'Something went wrong';
|
||||
let errorType: 'error' | 'warning' | 'success' = 'error';
|
||||
let teamName = null;
|
||||
let teamName: string = null;
|
||||
|
||||
function addError(location: typeof showError, message: string, type: typeof errorType) {
|
||||
showError = location;
|
||||
|
||||
Reference in new issue
Block a user