Browse Source

fix(core): use interface instead of type literal for Apis and ApiConfig

pull/3230/head
Arman Ozak 7 years ago
parent
commit
3c3d227e4e
  1. 8
      npm/ng-packs/packages/core/src/lib/models/config.ts

8
npm/ng-packs/packages/core/src/lib/models/config.ts

@ -24,15 +24,15 @@ export namespace Config {
logoUrl?: string;
}
export type ApiConfig = {
export interface ApiConfig {
[key: string]: string;
url: string;
};
}
export type Apis = {
export interface Apis {
[key: string]: ApiConfig;
default: ApiConfig;
};
}
export interface Requirements {
layouts: Type<any>[];

Loading…
Cancel
Save