Added Config object

This commit is contained in:
Franco Speziali 2022-03-16 08:42:17 +01:00
parent 78ebec425f
commit 6bb3226967

9
src/Config/Config.ts Normal file
View File

@ -0,0 +1,9 @@
import { Scale } from "../types";
export default class Config {
scale: Scale;
constructor({ scale }) {
this.scale = scale.toUpperCase() || Scale.Week;
}
}