signal-desktop/ts/context/config.ts
2023-04-07 09:42:12 -07:00

10 lines
283 B
TypeScript

// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { ipcRenderer } from 'electron';
import type { RendererConfigType } from '../types/RendererConfig';
const config: RendererConfigType = ipcRenderer.sendSync('get-config');
export { config };