mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-10-20 18:56:21 +00:00
fix: Remove Maybe from return type since not returning null value
This commit is contained in:
1 parent
ee8b76233a
commit
760e45e89f
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { Maybe, Types } from '@dotstats/common';
|
||||
|
||||
export function blockAverage(blockTimes: Array<number>): Maybe<Types.Milliseconds> {
|
||||
export function blockAverage(blockTimes: Array<number>): Types.Milliseconds {
|
||||
let count = 0;
|
||||
let sum = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user