Converts tests to TypeScript (#300)
This commit is contained in:
@@ -10,7 +10,6 @@ import unhashedTrie from './unhashedTrie';
|
||||
|
||||
/**
|
||||
* @name trieRoot
|
||||
* @signature trieRoot (pairs: Trie$Pairs): Uint8Array
|
||||
* @summary Creates a trie hash from the supplied pairs.
|
||||
* @description
|
||||
* From an `Array<{k: Uint8Array, v: Uint8Array}>` input, calculate the triehash and return the result as a `Uint8Array`.
|
||||
|
||||
@@ -11,7 +11,6 @@ import trieRoot from './trieRoot';
|
||||
|
||||
/**
|
||||
* @name trieRootOrdered
|
||||
* @signature trieRootOrdered (values: Array<Uint8Array>): Uint8Array
|
||||
* @summary Creates a trie hash from the supplied values.
|
||||
* @description
|
||||
* From an `Array<Uint8Array>` input, calculate the ordered triehash and return the result as a `Uint8Array`.
|
||||
|
||||
Reference in New Issue
Block a user