namespace UpdatedDrawAndRenterFunctions { class Shape { } declare const TriangleType ; class Triangle extends Shape { [ TriangleType ] : void ; isRightAngled ( ) { let result = false ; return result ; } } declare function drawShape ( shape ) ; declare function drawTriangle ( triangle ) ; function render ( shape , drawFunc ) { drawFunc ( shape ) ; } }