Converts tests to TypeScript (#300)

This commit is contained in:
Jaco Greeff
2019-02-14 10:48:08 +01:00
committed by GitHub
parent 2a14a8b553
commit 1e6eb2c283
158 changed files with 89 additions and 183 deletions
-1
View File
@@ -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`.