CWX-mods/Old/CWX_DebugTool/src/configHandler.ts

18 lines
330 B
TypeScript

import { injectable } from "tsyringe";
import { ICwxConfig } from "../models/IConfig";
@injectable()
export class CwxConfigHandler
{
private config: ICwxConfig;
constructor()
{
this.config = require("../config/config.json");
}
public getConfig(): ICwxConfig
{
return this.config;
}
}