3 ms·
It's not possible to add extension methods to TS in a way that would be usable in practice. https://github.com/Microsoft/TypeScript/issues/9 https://github.com/
by RyanCavanaugh 10y ago
It's not possible to add extension methods to TS in a way that would be usable in practice. https://github.com/Microsoft/TypeScript/issues/9 https://github.com/Microsoft/TypeScript/issues/9 has a long discussion of the problems with trying to do this.