mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-14 08:21:01 +00:00
fix: Remove Maybe from return type since not returning null value
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { Maybe, Types } from '@dotstats/common';
|
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 count = 0;
|
||||||
let sum = 0;
|
let sum = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user