Added babel plugins to support latest TS functionalities

This commit is contained in:
Alejandro Celaya
2020-08-22 11:00:11 +02:00
parent d65a6ba970
commit eefea0c37b
9 changed files with 4014 additions and 1123 deletions

15
src/servers/data/index.ts Normal file
View File

@@ -0,0 +1,15 @@
export interface RegularServer {
id: string;
name: string;
url: string;
apiKey: string;
version?: string;
printableVersion?: string;
serverNotReachable?: boolean;
}
interface NotFoundServer {
serverNotFound: true;
}
export type Server = RegularServer | NotFoundServer;