mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-06 11:17:58 +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';
|
||||
|
||||
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