UNPKG

@sports-alliance/sports-lib

Version:

A Library to for importing / exporting and processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc

13 lines (12 loc) 350 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataFlow = void 0; const data_number_1 = require("./data.number"); class DataFlow extends data_number_1.DataNumber { getDisplayValue() { return this.getValue().toFixed(2); } } exports.DataFlow = DataFlow; DataFlow.type = 'Flow'; DataFlow.unit = '';