I have a config class:

```
export class Config {
    color = 'blue'
    type = 'ball';
}

```

and I want to use that config in another class, like this:

```
export class Game {

    private config;
    color;

    constructor(config: Config) {
        this.config = config;
        this.color = this.config.color;

    }
}

```

Now, when I create an instance of `new Game(config)`, the config object appears on the `Game` class, like `Game.config.blue`.

Is there any way to hide that property, but still use the config variables?