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

@MohammedHusein @casey @joynewacc @raphaellakay @staff Hi Mohammed,

A quick update: I just saw that you scheduled two other verification calls.

I’ve now cancelled those.

Please don’t schedule any more calls using different accounts until we have sorted out this issue with your multiple accounts and the unsolicited messages.

After this is sorted out and we have an assurance from you that you are happy to keep just one account and not send unsolicited messages, we will ask you to schedule a verification call using your one and only Mastodon account (whichever one you decide to keep).

Please let us know at your convenience how you would like to proceed.

Thank you.