Convert signal.js and preload.js to Typescript
This commit is contained in:
parent
e18510e41c
commit
2464e0a9c1
94 changed files with 2113 additions and 1848 deletions
|
@ -25,8 +25,7 @@ contextBridge.exposeInMainWorld(
|
|||
contextBridge.exposeInMainWorld('SignalContext', {
|
||||
...SignalContext,
|
||||
renderWindow: () => {
|
||||
const forCalling = SignalContext.config.forCalling === 'true';
|
||||
const forCamera = SignalContext.config.forCamera === 'true';
|
||||
const { forCalling, forCamera } = SignalContext.config;
|
||||
|
||||
let message;
|
||||
if (forCalling) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue