
#81 TypeScript & Effects with Michael Arnaldi
Happy Path Programming
00:00
The Journey of Adaptation
In TypeScript, an intersection type is not distinct. It's like the same value that has multiple interfaces on it. So your services are intersections because you can have a service that needs a database connector or whatever. With the environment of zero in Scala, there was no need for these types to be distinct. But they do work slightly differently when used with other programming languages such as Java and C#.
Transcript
Play full episode