init tiramisu

This commit is contained in:
grngxd 2025-06-16 22:58:47 +01:00
commit 967b77c51c
10 changed files with 253 additions and 0 deletions

11
runtime/index.d.ts vendored Normal file
View file

@ -0,0 +1,11 @@
declare global {
interface Window {
invoke: (name: string, ...args: any[]) => Promise<any>;
tiramisu: {
invoke: (name: string, ...args: any[]) => Promise<any>;
};
}
}
export { };

5
runtime/preload.ts Normal file
View file

@ -0,0 +1,5 @@
const tiramisu = {
invoke: window.invoke
}
window.tiramisu = tiramisu

12
runtime/tsconfig.json Normal file
View file

@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"strict": false,
"declaration": true,
"outDir": "./out",
"esModuleInterop": true,
"skipLibCheck": true
},
}