Some minor cleanups (#1966)
* Some minor cleanups * Small additions * Cleanup ExtrinsicEra decoding * Minor adjustments * Remove support for metadata v0 parsing * Adjust refCountDelay * refCountDelay comments * Adjust Metadata tests * Metadata default creation * Funky lines * Cleanup as AccountIdAndIndex * Some derive returns * Try and cleanup info extraction
This commit is contained in:
@@ -14,7 +14,7 @@ describe('decodeResponse', (): void => {
|
||||
|
||||
it('expects a non-empty input object', (): void => {
|
||||
expect(
|
||||
(): any => coder.decodeResponse((undefined as any) as JsonRpcResponse)
|
||||
(): any => coder.decodeResponse(undefined as unknown as JsonRpcResponse)
|
||||
).toThrow(/Empty response/);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user