* Bump deps

* Linting
This commit is contained in:
Jaco Greeff
2019-12-05 11:09:27 +01:00
committed by GitHub
parent 468fcdccaa
commit 01f3666cc7
8 changed files with 149 additions and 219 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ describe('methodSend', (): void => {
const method = (rpc as any).createMethodSend(methods.blah);
method().subscribe(
(): void => {},
(): void => undefined,
(error: Error): void => {
expect(error.message).toMatch(/blah\(foo: Bytes\): Bytes/);
done();
@@ -57,7 +57,7 @@ describe('methodSend', (): void => {
const method = (rpc as any).createMethodSend(methods.bleh);
method(1).subscribe(
(): void => {},
(): void => undefined,
(error: Error): void => {
expect(error.message).toMatch(/parameters, 1 found instead/);
done();
+1 -1
View File
@@ -26,7 +26,7 @@ const ERR = (error: Error): Observable<never> => {
throw error;
};
const NOOP = (): void => {};
const NOOP = (): void => undefined;
/**
* Shorthand for distinctUntilChanged(), publishReplay(1) and refCount().