| 1234567891011121314151617 |
- export namespace config {
-
- export class Config {
- servers: string[];
-
- static createFrom(source: any = {}) {
- return new Config(source);
- }
-
- constructor(source: any = {}) {
- if ('string' === typeof source) source = JSON.parse(source);
- this.servers = source["servers"];
- }
- }
- }
|