TypeScript's type system is very powerful—it can represent a lot of JavaScript constructs as a result. Here's how to type a function with an extra property.
Understanding of GraphQL through the lens of Apollo, a set of JavaScript libraries and tools that allow for simple and extensible GraphQL clients & servers.