Closed folkvir closed 3 years ago
In the title, related to #20
Allows to do: const b: BloomFilter = BloomFilter.fromJSON(bloomJSON) as BloomFilter Instead of doing this ...: const b: BloomFilter = BloomFilter.fromJSON(bloomJSON) as unknown as BloomFilter
const b: BloomFilter = BloomFilter.fromJSON(bloomJSON) as BloomFilter
const b: BloomFilter = BloomFilter.fromJSON(bloomJSON) as unknown as BloomFilter
Edit: see https://github.com/Callidon/bloom-filters/issues/20#issuecomment-799799655
In the title, related to #20
Allows to do:
const b: BloomFilter = BloomFilter.fromJSON(bloomJSON) as BloomFilter
Instead of doing this ...:const b: BloomFilter = BloomFilter.fromJSON(bloomJSON) as unknown as BloomFilter
Edit: see https://github.com/Callidon/bloom-filters/issues/20#issuecomment-799799655