mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-31 05:29:58 +01:00
Fix typing (#420)
This commit is contained in:
parent
ebf7d88710
commit
b89b2637b9
@ -179,7 +179,7 @@ export const TARGETS: Record<TargetId, Target> = {
|
||||
'powerpc64le-unknown-linux-gnu': powerpc64leUnknownLinuxGnu,
|
||||
};
|
||||
|
||||
export function getHost(): Target {
|
||||
export function getHost(): Target | undefined {
|
||||
return Object.values(TARGETS).find(target => (
|
||||
target.platform === process.platform &&
|
||||
target.arch === process.arch &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user