Add BTreeSet<V> Codec (#1639)

* add BTreeSet Codec

* Add following BTreeMap

* fix linting

* fix linting

* add validate Types and encode Types

* type def info is incremented.

* fix compareSet
This commit is contained in:
satellitex
2019-12-18 16:22:54 +01:00
committed by Jaco Greeff
parent 0a0f110c42
commit 53959d482d
21 changed files with 2144 additions and 1805 deletions
@@ -26,6 +26,7 @@ function extractTypes (types: string[]): any[] {
return extractTypes([(decoded.ext as TypeDefExtVecFixed).type]);
case TypeDefInfo.BTreeMap:
case TypeDefInfo.BTreeSet:
case TypeDefInfo.Result:
case TypeDefInfo.Tuple:
return extractTypes((decoded.sub as TypeDef[]).map((sub): string => sub.type));