JavaScript:Panoya kopyala import from 'electron'; import todo = require ; let inputText = (<HTMLInputElement>document. getElementById ; let addButton = (<HTMLButtonElement>document. getElementById ; let ToDoDataDiv = (<HTMLDivElement>document. getElementById ; window. onload = function function refreshList { let t : Array<todo. todo>; ipcRenderer. on('get-todo', => ); if (t. length > 0) { if (ToDoDataDiv. hasChildNodes { let i = 0; while } let tableElement = (<HTMLTableElement>document. createElement ; let tableRow = (<HTMLTableRowElement>document. createElement ; let idText = (document. createElement ; idText. innerText = "ID"; tableRow. appendChild ; tableElement. appendChild ; let i : number = 0; while ToDoDataDiv. appendChild ; } } addButton. addEventListener('click', => { console. log ; if }); JavaScript:Panoya kopyala import from "electron"; import as path from "path"; import from './sqliteconnect' import from "./todo"; function createWindow { const mainWindow = new BrowserWindow({ height: 600, webPreferences: , width: 800, }); ipcMain. on('get-todo', async => ); mainWindow. loadFile(path. join ; } app. whenReady . then => { createWindow ; app. on("activate", function ); }); app. on("window-all-closed", => { if }); IpcRenderer isteğini bir turlu çalıştıramadım. Sizce sorun nereden kaynaklanıyor? son durum. ipcRenderer include etmiyor. neden acaba. Kod:Panoya kopyala import from 'electron' import from "./todo" console. log ; let inputText = (<HTMLInputElement>document. getElementById ; let addButton = (<HTMLButtonElement>document. getElementById ; let ToDoDataDiv = (<HTMLDivElement>document. getElementById ; window. onload = function function refreshList { ipcRenderer. send ; ipcRenderer. on('get-todo-reply', => { console. log(response . text); let t : Array<todo> = response; if (t. length > 0) { if (ToDoDataDiv. hasChildNodes { let i = 0; while } let tableElement = (<HTMLTableElement>document. createElement ; let tableRow = (<HTMLTableRowElement>document. createElement ; let idText = (document. createElement ; idText. innerText = "ID"; tableRow. appendChild ; tableElement. appendChild ; let i : number = 0; while ToDoDataDiv. appendChild ; } }); } addButton. addEventListener('click', => { console. log ; if });