@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
18 lines (17 loc) • 460 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataString = void 0;
const data_bare_1 = require("./data.bare");
class DataString extends data_bare_1.DataBare {
constructor(value) {
super(value);
this.value = value;
}
getValue(_formatForDataType) {
return this.value;
}
isValueTypeValid(value) {
return typeof value === 'string';
}
}
exports.DataString = DataString;