Transcript
00:00 The problem that we're having right here is we're saying operations is this type, but what we can't, and that is very direct, like this is this thing, but what we can do is we can just say this operations object satisfies a type. So we can say, here's a wide type,
00:18 as long as this operations object satisfies that, then it can be as narrow as it is and we get all the nice type checking and everything from this wider type. So it's basically, we want a record of strings,
00:33 a record that maps strings to operator or operation functions, but then we have this object that's a little bit even narrower than that, and it just satisfies that. So we're going to use the satisfy syntax to avoid this operator type. It should be just pretty quick,
00:50 but it definitely improves the developer experience of developing this particular set of operations. So have a good time with that. We'll see you when you're done.