The types help prevent erroneous config declarations.
e.g
```
enum LogLevel {
Info = "info", Debug = "debug"
const MyConfig = {
logOptions: { level: LogLevel.Debug }
And since we serialise `MyConfig`, the config has to be transpiled by Typescript.
The types help prevent erroneous config declarations.
e.g
```
enum LogLevel {
}const MyConfig = {
};```
And since we serialise `MyConfig`, the config has to be transpiled by Typescript.