2019-06-08 00:36:44 +02:00
// This file is required by the index.html file and will
// be executed in the renderer process for that window.
// All of the Node.js APIs are available in this process.
2019-06-08 05:06:21 +02:00
2019-06-09 06:07:05 +02:00
import App from './renderer/App.svelte' ;
2019-06-08 05:06:21 +02:00
2019-06-30 01:18:21 +02:00
( ( ) : void = >
2020-07-25 02:02:37 +02:00
// eslint-disable-next-line @typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-return -- fis this together with the typescript support of svelte
2019-06-09 02:47:46 +02:00
new App ( {
target : document.querySelector ( '#app' ) ,
props : {
// we'll learn about props later
answer : 42 ,
} ,
} ) ) ( ) ;