mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-06-01 10:06:17 +00:00
Added stricter types for SemVer versions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user