namespace EquilateralTriangleDeclaration { declare const TriangleType ; class Triangle { [ TriangleType ] : void ; } declare const EquilateralTriangleType ; class EquilateralTriangle extends Triangle { [ EquilateralTriangleType ] : void ; } }