AquaNet: got typescript to stop yelling at me, it was driving me up a wall

This commit is contained in:
Galexion
2024-03-01 23:16:14 -05:00
parent e8958f5e53
commit db2a7208da
4 changed files with 10 additions and 8 deletions

View File

@@ -8,7 +8,7 @@
export let userId: any
userId = +userId
let ifError = null;
let ifError: string | null;
if (!userId) console.error("No user ID provided")