fix: use an intersection type for strict null checks

pull/5310/head
Arman Ozak 4 years ago
parent 6812c9f9b3
commit df780227f5

@ -22,11 +22,12 @@ export namespace Config {
logoUrl?: string;
}
export interface ApiConfig {
export type ApiConfig = {
[key: string]: string;
rootNamespace?: string;
url: string;
}
} & Partial<{
rootNamespace: string;
}>;
export interface Apis {
[key: string]: ApiConfig;

Loading…
Cancel
Save