diff options
| -rw-r--r-- | app/lib/ipc-facade.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lib/ipc-facade.js b/app/lib/ipc-facade.js index dc9147890c..750b6a3d09 100644 --- a/app/lib/ipc-facade.js +++ b/app/lib/ipc-facade.js @@ -29,6 +29,7 @@ export type BackendState = { }; export type RelayProtocol = 'tcp' | 'udp'; +export type RelayLocation = {| city: [string, string] |} | {| country: string |}; type OpenVpnParameters = { port: 'any' | { only: number }, @@ -41,7 +42,7 @@ type TunnelOptions<TOpenVpnParameters> = { type RelaySettingsNormal<TTunnelOptions> = { location: 'any' | { - only: { city: Array<string> } | { country: string }, + only: RelayLocation, }, tunnel: 'any' | TTunnelOptions, }; |
