We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Allow a declarative way of adding members to an existing type's prototype
Example:
class Shape { // ... } /* ...elsewhere...*/ extension class Shape { // Syntax?? getArea() { return /* ... */; } } var x = new Shape(); console.log(x.getArea()); // OK