export namespace Shapes { export class Triangle { /* ... */ } export class Square { /* ... */ } }