shut ts up
Builder Win / Build PluginLoader for Win (push) Waiting to run
Builder / Build PluginLoader (push) Waiting to run
Push Updated Plugin Stub to Template / copy-stub (push) Waiting to run
Lint / Run linters (push) Waiting to run
Type Check / Run type checkers (push) Waiting to run

This commit is contained in:
AAGaming
2024-09-16 16:21:00 -04:00
parent f69eb72df9
commit 97b12972ee
+1 -1
View File
@@ -2,7 +2,6 @@
interface Window {
// Shut up TS
SP_REACTDOM: any;
App: any; // TODO type BFinishedInitStageOne in @decky/ui
}
(async () => {
@@ -10,6 +9,7 @@ interface Window {
console.time('[Decky:Boot] Waiting for SteamApp init stage 1 to finish...');
// @ts-expect-error TODO type BFinishedInitStageOne in @decky/ui
while (!window.App?.BFinishedInitStageOne()) {
await new Promise((r) => setTimeout(r, 0)); // Can't use DFL sleep here.
}