Added stricter types for SemVer versions

This commit is contained in:
Alejandro Celaya
2021-03-06 09:38:48 +01:00
parent b4c2fb5b8f
commit 70ce099913
7 changed files with 53 additions and 39 deletions

View File

@@ -1,3 +1,5 @@
import { SemVer } from '../../utils/helpers/version';
export interface ServerData {
name: string;
url: string;
@@ -9,7 +11,7 @@ export interface ServerWithId extends ServerData {
}
export interface ReachableServer extends ServerWithId {
version: string;
version: SemVer;
printableVersion: string;
}