Update dependencies

This commit is contained in:
Jaco Greeff
2018-05-15 12:03:05 +02:00
parent dc6fb357f6
commit c5f96e77c0
6 changed files with 464 additions and 1140 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ const assert = require('@polkadot/util/assert');
const internalDecode = require('./decode');
module.exports = function decoder (input?: Uint8Array): Uint8Array | Array<*> {
// flowlint-next-line unclear-type:off
module.exports = function decoder (input?: Uint8Array): Uint8Array | Array<any> {
if (!input || input.length === 0) {
return new Uint8Array([]);
}
+2 -1
View File
@@ -4,7 +4,8 @@
// @flow
export type DecodeOutput = {
decoded: Uint8Array | Array<*>,
// flowlint-next-line unclear-type:off
decoded: Uint8Array | Array<any>,
remainder: Uint8Array
}