Skip to content

Commit

Permalink
shut ts up
Browse files Browse the repository at this point in the history
  • Loading branch information
AAGaming00 committed Sep 16, 2024
1 parent f69eb72 commit 97b1297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
interface Window {
// Shut up TS
SP_REACTDOM: any;
App: any; // TODO type BFinishedInitStageOne in @decky/ui
}

(async () => {
console.debug('[Decky:Boot] Frontend init');

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

0 comments on commit 97b1297

Please sign in to comment.