1
Wie kann ich einen Datastore mit NeDB mit typecripts Klassen Syntax bekommen?NeDB + Typescript
namespace NamespaceName {
"use strict";
export class Persistence {
private attrs: Type;
public static $inject: Array<string> = [];
constructor(
) {
this.attr1 = "";
}
// Public Methods
public method1() {
...
}
// Private Methods
private method1() {
...
}
}
}
Wo sollte ich meinen Datenspeicher erstellen und instanziieren?