/** * */ export class DyNTS_SingletonServiceBase { /// --- --- --- SINGLETON --- --- --- \\\ protected static instance; // eslint-disable-next-line @typescript-eslint/explicit-function-return-type protected static getSingletonInstance() { if (!this.instance) { this.instance = new this(); } return this.instance; } /// --- --- --- SINGLETON --- --- --- /// // SINGLETON services are using private constructor protected constructor() {} }