Today I learned… if you are doing something naughty in JavaScript* (and let’s face it, of course you are) that TypeScript’s type checker is giving you an error for and you – being you – want to keep being naughty (because you can and that’s half the fun), there’s a better way to silence the error than using @ts-ignore which, umm, just ignores it.

Instead, you can use @ts-expect-error (with the error message, to remind yourself what you’re expecting).

This way, if the error ever goes away (which would likely signal… uh… an error), you will be notified.

So, yeah, how’s your morning going?

* Like returning a proxy from a constructor instead of an instance of the class itself.

#JavaScript #TypeScript #typeChecking #proxy #tsIgnore #tsExpectError

@aral I just had a video chat to get the verification sticker

@MohammedHusein Hi Mohammed,

I need to ask you to do a few things before we can reschedule your verification interview.

Please, first and foremost, read the guide here that spells out the rules:

https://gaza-verified.org/guide-arabic/

Most importantly, your accounts are getting suspended because you’re sending unsolicited messages to people (as mentions and/or as direct messages) and, when an account gets suspended, you’re creating a new one.

Please:

- Let me know here (or file an appeal to mastodon.social) stating that you will stop sending unsolicited messages and creating multiple accounts. We can then look into getting your main account (the first one unsuspended). Once that happens, please delete the other accounts.

- You scheduled two different verification calls today using two different accounts, taking up a space that should have gone to someone else. Please refrain from scheduling any new verification calls until we have sorted out the issues with your accounts and you are down to having a single account.

Thank you.

CC @casey @joynewacc @raphaellakay @staff

Gaza Verified

We’ve personally had video conversations on Signal with the people from Gaza whose Mastodon accounts on the fediverse are listed here and we verify that their accounts are genuine. – Joy & Aral Balkan

@aral @casey @joynewacc @staff @raphaellakay

Hello Mastodon Support Team,

My account was suspended, and I believe this was a misunderstanding. I use Mastodon only to share updates about my situation in Gaza and to communicate respectfully with others. I did not intend to violate any rules.

Please review my case and consider restoring my account. I am ready to correct anything if needed.

Thank you for your understanding.

Kind regards,
Mohammed Hussein