refactor: Removed the use of d.ts files to support SDK generation for public plugins

This commit is contained in:
Simeon Radivoev 2026-05-05 01:21:22 +03:00
parent 06b7e4074d
commit 2683d46b16
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A
114 changed files with 408 additions and 257 deletions

View file

@ -22,7 +22,7 @@ function spawnServer ()
stderr: 'inherit',
stdin: 'inherit',
signal: abortController.signal,
killSignal: 'SIGUSR1',
killSignal: 'SIGKILL',
ipc (message, subprocess, handle)
{
if (message === 'focus')
@ -91,7 +91,7 @@ if (!process.env.HEADLESS)
spawnBrowser()?.then(async e =>
{
if (!server) return;
server.kill("SIGUSR1");
abortController.abort();
await server.exited;
});
}