RenaiApp/src/renderer.ts

16 lines
528 B
TypeScript
Raw Normal View History

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.
import App from './renderer/App.svelte';
2019-06-30 01:18:21 +02:00
((): 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,
},
}))();