[core] Use extends instead of implements for LocalStoreCore.ts

This commit is contained in:
allburov committed 2024-02-18 19:55:54 +07:00
1 parent 5b9ed029b3
commit b4fb69d0ee
1 file changed
+2 -1
+2 -1
View File
@@ -5,7 +5,7 @@ import * as path from 'path';
import { LocalStore } from './LocalStore';
export class LocalStoreCore implements LocalStore {
export class LocalStoreCore extends LocalStore {
protected readonly baseDirectory: string = path.join(
os.tmpdir(),
'waha-sessions',
@@ -14,6 +14,7 @@ export class LocalStoreCore implements LocalStore {
private readonly engine: string;
constructor(engine: string) {
super();
this.engine = engine;
}