Browse Source

make ApiConfig interface instead of type literal

pull/7913/head
Arman Ozak 6 years ago
parent
commit
bce5c1660d
  1. 4
      npm/ng-packs/packages/core/src/lib/models/environment.ts

4
npm/ng-packs/packages/core/src/lib/models/environment.ts

@ -18,11 +18,11 @@ export interface ApplicationInfo {
logoUrl?: string;
}
export type ApiConfig = {
export interface ApiConfig {
[key: string]: string;
url: string;
rootNamespace: string;
};
}
export interface Apis {
[key: string]: Partial<ApiConfig>;

Loading…
Cancel
Save