Concept Flow - Augmenting third-party libraries
Import third-party library
Declare module with same name
Add new types or interfaces
Use augmented types in code
Compile and check types
You import a library, then declare a module with the same name to add new types or interfaces, and finally use these new types in your code.
