Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export interface Config {
- userAgent: string
- refreshToken: string
- clientId: string
- }
- export class ConfigLoader {
- config: Config
- constructor() {
- try {
- this.config = require('../config.json') as Config
- } catch(ex) {
- console.log(ex)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement