16 lines
528 B
TypeScript
16 lines
528 B
TypeScript
// 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.
|
|
|
|
import App from './renderer/App.svelte';
|
|
|
|
((): void =>
|
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-return -- fis this together with the typescript support of svelte
|
|
new App({
|
|
target: document.querySelector('#app'),
|
|
props: {
|
|
// we'll learn about props later
|
|
answer: 42,
|
|
},
|
|
}))();
|