mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-13 10:24:20 +01:00
7cfa38e344
This PR wires up a polyfill for window.ipc which allows us to progressively migrate the codebase to a format which supports context bridge. This avoids a big bang effort where every non sandboxed call has to be migrated before we can run the code. Once all calls to node modules are removed from the renderer and only exists in preload.ts. We will turn on context isolation and use the context bridge for communication instead.
3 lines
80 B
TypeScript
3 lines
80 B
TypeScript
declare module "forcefocus";
|
|
declare const ipc: typeof import("./preload").ipc;
|