Typescript-eslint 2 (#1353)

* Make a start

* More minor cleanups

* Some more cleanups

* Last round?

* Exclude build folders
This commit is contained in:
Jaco Greeff
2019-09-02 07:01:32 +02:00
committed by GitHub
parent bd5c167c14
commit 2dd7cc0e69
94 changed files with 391 additions and 324 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ describe('Cached Observables', (): void => {
});
it('creates different observables for different methods but same arguments', (): void => {
// @ts-ignore
const observable1 = rpc.chain.subscribeNewHeads([123]);
// params do not match here
const observable1 = (rpc.chain as any).subscribeNewHeads([123]);
const observable2 = rpc.state.subscribeStorage([123]);
expect(observable2).not.toBe(observable1);