Migrated to typescript first component getting another component with props injected

This commit is contained in:
Alejandro Celaya
2020-08-22 13:41:54 +02:00
parent 39663ba936
commit 2db85c2783
7 changed files with 81 additions and 72 deletions

View File

@@ -1,11 +1,14 @@
export interface RegularServer {
id: string;
export interface NewServerData {
name: string;
url: string;
apiKey: string;
}
export interface RegularServer extends NewServerData {
id: string;
version?: string;
printableVersion?: string;
serverNotReachable?: boolean;
serverNotReachable?: true;
}
interface NotFoundServer {