shut ts up

This commit is contained in:
AAGaming
2024-09-16 16:21:00 -04:00
parent f69eb72df9
commit 97b12972ee

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.
}