Update dependencies
This commit is contained in:
@@ -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([]);
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
// @flow
|
||||
|
||||
export type DecodeOutput = {
|
||||
decoded: Uint8Array | Array<*>,
|
||||
// flowlint-next-line unclear-type:off
|
||||
decoded: Uint8Array | Array<any>,
|
||||
remainder: Uint8Array
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user