An example of creating an external module from a TypeScript internal module