UNPKG

@openhps/core

Version:

Open Hybrid Positioning System - Core component

17 lines (13 loc) 429 B
import { DataService } from './DataService'; import { Serializable } from '../data/decorators'; export class DummyDataService<I, T> extends DataService<I, T> { private _dataType: Serializable<T>; constructor(uid: string, dataType: Serializable<T>) { super(undefined); this.uid = uid; this._dataType = dataType; } get dataType(): Serializable<T> { return this._dataType; } }