mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-28 16:45:10 +08:00
* Change type PendingSuiteFunction with interface This allows the PendingSuiteFunction interface to be augmented with additional overloads. The feature is used in [mocha-typescript](http://github.com/pana-cc/mocha-typescript). P. S. Where can I add tests for this? It has been broken 3 or 4 times before. Interface get frequently renamed (e.g. from ISuite to Suite) or simple interfaces get declared with types. I need to set interfaces: ``` declare namespace Mocha { interface SuiteFunction { } interface TestFunction { } interface PendingSuiteFunction { } interface PendingTestFunction { } } ``` To be set in stone so their augmentations don't get broken. * Add tests, disable callable-types in tslint, add experimentalDecorators