Daniel Rodríguez Rivero I updated the post because I don’t want my readers to think that interfaces are exclusive to TypeScript. How can Interfaxes be used in functional programming other than defining types for objects? Can you show me an example in a code snippet?