DefinitelyTyped/types/mocha/tslint.json
pana-cc 81b2d6f869 Change type PendingSuiteFunction with interface (#26970)
* 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
2018-07-15 12:26:43 -07:00

12 lines
277 B
JSON

{
"extends": "dtslint/dt.json",
"rules": {
"unified-signatures": false,
"interface-name": false,
"ban-types": false,
"no-single-declare-module": false,
"no-declare-current-package": false,
"callable-types": false
}
}