mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00: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 |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| mocha-tests.ts | ||
| tsconfig.json | ||
| tslint.json | ||