Added Config object
This commit is contained in:
parent
78ebec425f
commit
6bb3226967
9
src/Config/Config.ts
Normal file
9
src/Config/Config.ts
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import { Scale } from "../types";
|
||||||
|
|
||||||
|
export default class Config {
|
||||||
|
scale: Scale;
|
||||||
|
|
||||||
|
constructor({ scale }) {
|
||||||
|
this.scale = scale.toUpperCase() || Scale.Week;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user