Cait 🦇
banner
gendercoffin.bsky.social
Cait 🦇
@gendercoffin.bsky.social
feral
So I'm going to start digging and I'm going to find out if the TypeScript language is bonkers, or if I've been having my code lie to itself in some clever way. In any case, I'm going to start digging and see how deep the conspiracy goes
December 4, 2025 at 3:15 AM
an observation payload can't be. And yet I'm able to pass this template with properties "name" and "active" and pass them to this function that shouldn't be able to accept it. It can accept ObservationPayload's ancestor, but not DatasheetTemplate
December 4, 2025 at 3:14 AM
I've got a function that gets a datasheet template, which is a bigger cousin of my observation payload. It has a name and it has a flag for whether it's active or not. I call a function to get one of these, and TypeScript knows it's a datasheet template! It's got a name and is active, which
December 4, 2025 at 3:13 AM
In really lay terms, TypeScript is a programming language, a bigger, better cousin of JavaScript. I use it to make websites. It has something cool called "types" which describe ordinary structures that hold data. So you might have one called "type person = {first_name; string, last_name: string}"
December 4, 2025 at 3:11 AM
Even if he’s not in office I don’t think it’s going to be pretty. But I don’t think he plans on leaving
December 4, 2025 at 12:42 AM
I also constantly fret over the idea of losing my job and then I get my annual review and it’s nothing but stellar. That was cool.
December 4, 2025 at 12:32 AM
I mean, we’re using Bluesky and we know what the admins think of us
December 3, 2025 at 8:08 PM
I’ll bounce back but it left me all shook up. I’m glad I’m doing a lot better as a person than my dad did.
December 3, 2025 at 2:15 PM